Search

Showing 7 of 1,216 result(s)

/blog/2016/12/07/laravel-artisan-general-command-the-serve-command

The serve command is used to run the application using the PHP development server. This command is generally used for development and testing purposes. The serve command accepts two optional options: host can be used to change the address of the...

/blog/2016/12/07/laravel-artisan-general-command-the-up-command

The up command is used to take an application out of maintenance mode. It does this by removing a file named down from the application's framework storage directory (by default this is storage/framework/ ). The following demonstrates the usage of...

/blog/2016/12/07/laravel-artisan-generator-command-the-makeauth-command

The make:auth command can be used to generate login and registration views, a basic HomeController controller and routes that can be used for basic authentication tasks. It accepts the optional flag --views which can be used to only generate the...

/blog/2016/12/07/laravel-artisan-generator-command-the-makecontroller-command

The make:controller command can be used to quickly generate a new controller class file in the app/Http/Controllers directory. A name for the newly created controller must be provided. The name will become the name of the newly generated class and...

/blog/2016/12/07/laravel-artisan-generator-command-the-makeevent-command

The make:event command is used to generate a new event class. The command requires a name parameter to be supplied, which will be the name of the new class. The generated classes by default will extend the App\Events\Event class (the actual...

/blog/2016/12/07/laravel-artisan-generator-command-the-makejob-command

The make:job command is used to create a new job class. A name must be supplied that will be used as the name of the newly generated class and file. An optional --sync flag can be set to indicate that the created job should be synchronous....

/blog/2016/12/07/laravel-artisan-generator-command-the-makelistener-command

The make:listener command is used to generate a new event listener class. A name must be supplied to the make:listener command; this value will be the name of the newly generated class. The command also defines one required option: event . The...