Answers for "laravel make a command"

PHP
0

laravel create command tutorial

Artisan::command('build {project}', function ($project) {
    $this->info("Building {$project}!");
})->describe('Build the project');
Posted by: Guest on December-07-2020
0

laravel create command tutorial

if ($this->confirm('Do you wish to continue?')) {
    //
}
Posted by: Guest on December-07-2020

Browse Popular Code Answers by Language