Showing 7 of 1,216 result(s)
The make:request command can be used to generate new request validation request classes. The command accepts a name for the newly created request class. The name will be used as the name of the class and the file. The following example...
The make:seeder command can be used to generate new seed classes. The command accepts a name argument that will be used as the name of the newly generated file and class. Generated seeder classes are stored in the database/seeds/ directory by...
The make:test command can be used to quickly generate test files for your application. The command accepts a name argument that will be used as the name of the newly created file and generated class. Generated tests are stored in the tests/...
This article will discuss the various ways that we as users can interact with Artisan console commands. This article contains many sections which focuses on specific ways to interact with commands or gain information about commands. Each section...
The key:generate command is used to generate a random key. This command will update the key stored in the application's environment file. The command also supports an optional --show flag. Specifying this flag will simply show the generated key...
The migrate:install command is used to create the migrations database table. It defines only one optional parameter database . The database option can be used to specify the database connection to use when running the migrations. By default this...
The migrate:refresh command can be used to reset and run all outstanding migrations again. This command is a shortcut to calling two other Artisan commands. The following examples are equivalent: The same using the migrate:refresh helper command:...