I'm trying to install lumen for my new project. While using the lumen command in terminal it says " Command not found "
Image of my terminal commands
What's wrong?
To see all built-in commands, use the php artisan command in Lumen. Although there is no make:command command at Lumen, you can create your custom command: Add new command class inside the app/Console/Commands folder, you can use the sample class template of the framework serve command.
To start with, install composer and then change your directory to the root folder of the server. Create a lumen project “lumen_api” from the “laravel/lumen” package (packagist.org). The composer will create a folder “lumen_api” and install all files of lumen including dependency.
You can directly create your project by using composer using the following command :
composer create-project --prefer-dist laravel/lumen firstapp
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With