Showing 7 of 1,216 result(s)
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...
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...
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...
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...
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...
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...
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...