Search

Showing 7 of 1,216 result(s)

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

The make:mail command is used to generate a new mail class. A name must be supplied to the make:mail command; this value will be the name of the newly generated class. The following would generate a new mail class named UserSubscribedMail mail...

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

The make:middleware command is used to generate a middleware class. It accepts a name that will be used as the name of the newly generated class and file. Generated classes are stored within the app/Http/Middleware directory. The following example...

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

The make:migration command is used to generate a new migration class. Generated migrations are (by default) stored in the database/migrations directory. The make:migration defines a few parameters and options that can be used to customize the...

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

The make:model command is used to generate new Eloquent model classes. It requires a name to be supplied; this name will become the name of the generated class and created file. A migration file can also be generated for the model by setting the...

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

The make:notification command is used to generate a new notification class. A name must be supplied to the make:notification command; this value will be the name of the newly generated class. The following would generate a new notification class...

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

The make:policy command is used to generate to policy classes. It requires a name to be provided; this name will be used as the file name as well as the newly generated class name. Policy classes are stored within the app/Policies directory. The...

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

The make:provider command can be used to quickly create new service providers for your application. It accepts only the name to be used for the newly generated service provider class and file. Newly generated providers are stored in the...