Search code examples
laravelcomposer-phpbackendlumen

How to install lumen 5.8 using Composer


My source project contains laravel/lumen 5.8 and I cloned the project recently and installed composer and when I try to install lumen in this way

composer global require "laravel/lumen-installer" 

I got the latest one . How can I get Laravel/lumen 5.8 using composer or any other methods?


Solution

  • Go to your app and then find composer.json and add this line:

    "laravel/lumen-framework": "5.8.*"
    

    then run

    composer update