php - Lumen make:command -


i'm trying execute code within lumen install via command line. in full laravel , i've read can use commands achieve via "make:command", lumen not seem support command.

is there anyway enable command? failing that, what's best way of running code cli in lumen?

thanks

you can use artisan cli in lumen same way in laravel fewer built-in commands. see built-in commands, use php artisan command in lumen.

although there no make:command command @ lumen, can create custom command:

  • add new command class inside app/console/commands folder, can use sample class template of framework serve command

  • register custom command adding created class $commands member inside app/console/kernel.php file.

except command generating, can use laravel docs commands when working lumen.


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -