This application provides several command-line interface commands that can be run by typing
php artisan followed by the command name, e.g.,
php artisan app:install.
Every command has a
-h option that shows usage information similar to what is displayed on this page.
Commands also include several other flags such as
--quiet that allow the command to run without outputting results back to the console. All of these flags are omitted in this document as they are part of Laravel itself.
Install or re-install the application.
- Drops and rebuilds the database
NOTE: Using the
--clean-installflag is extremely dangerous because it deletes all application data. Only use it if you are planning to start from scratch.
NOTE: If updating the application, run this command after
Update application code and dependencies.
- Specifies release to update to (e.g., 1.0.0)
NOTE: If updating the application, run this command before