* The console command name. * * @var string*/protected$name= 'SendMailCommand:sendMail';//命令名,命令行调用使用php artisian 这里的$name值/** * The console command description. * * @var string*/protected$description= 'send mail.';/** * Create a new command instance. * * @return void...
1Artisan::add(new CustomCommand);Registering A Command That Is In The IoC ContainerIf your command is registered in the application IoC container, you may use the Artisan::resolve method to make it available to Artisan:1Artisan::resolve('binding.name');...
For more complex validation scenarios, you may wish to create a "form request". Form requests are custom request classes that encapsulate their own validation and authorization logic. To create a form request class, you may use the make:request Artisan CLI command:...
Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things. - laravel/laravel
A custom command to generate a model, migration, controller and routes simulataneously - amochohan/laravel-make-resource
You may also wish to set the timezone, configure your hostname, create a limited user account, and harden SSH access. Note This guide is written for non-root user. Commands that require elevated privileges are prefixed with sudo. If you’re not familiar with the sudo command, see the ...
Command-line tool access: Use themysqlcommand from the app's SSH terminal for basic access. Desktop tools (for example, MySQL Workbench): Using SSH tunneling with Azure CLI: Create anSSH sessionto the web app by using the Azure CLI. ...
"type": "custom" }, { "url": "https://www.patreon.com/phpdoctrine", "type": "patreon" }, { "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", "type": "tidelift" } ], "time": "2020-05-29T07:19:59+00:00" ...
"laravel/tinker": "Required to use the tinker console command (^1.0).", "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).", "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).", ...
make:channel Create a new channel class make:command Create a new Artisan command make:event Create a new event class make:exception Create a new custom exception class make:factory Create a new model factory make:job Create a new job class ...