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/commandsfolder, can use sample class template of frameworkservecommandregister custom command adding created class
$commandsmember insideapp/console/kernel.phpfile.
except command generating, can use laravel docs commands when working lumen.
Comments
Post a Comment