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 frameworkserve
commandregister custom command adding created class
$commands
member insideapp/console/kernel.php
file.
except command generating, can use laravel docs commands when working lumen.
Comments
Post a Comment