//Global CorrelationPHP Artisan: Displays detailed command-line help information, with PHP artisanListPHP artisan–help: Displays the use format of the help command, with PHP artisan helpphp artisan–version: Displays the currently used Laravel version of PHP artisan changes: List the current version relative to the Major changes in version PHP artisan down: Set the site to maintenance state PHP artisan up: Set the site back to an accessible state PHP artisan optimize: Optimize application performance, generate auto-load files, and produce aggregated compiled files bootstrap /compiled.phpphp Artisan Dump-autoload: Regenerate frame auto-load file, equivalent to optimize PHP artisan clear-compiled: Purge compiled generated files, equivalent to optimize PHP artisan migrate: Perform data migration PHP artisan routes: List all routing rules currently applied PHP artisan serve: Using PHP built-in Development server launch app "requires PHP version in5.4or more "PHP artisan Tinker: Enter the REPL environment that is bound to the current application environment, equivalent to the Rails console command PHP Artisan Workbench Organization Name/Package Name: This will produce a folder named Workbench at the root of the application, then generate a package structure that conforms to the Composer standard in the form of an organization name/package name, and install the necessary dependencies automatically "needs to be perfected first app/config/workbench.The contents of the php file "//function-relatedPHP Artisan Cache:Clear : Clear application cache php Artisan command: Make command name: Generates a named command name in the App/commands directory.php custom command file PHP Artisan Controller: Make controller name: generates a name for the controller in the App/controllers directory.PHP Controller file PHP Artisan db:Seed : Populate the database with seed data for testing PHP artisanKey: Generate: Generates a randomKey, and automatically updates to App/config/app.ph'sKeykey value pair PHP artisan migrate:Install: Initialize the migration data sheet PHP artisan migrate: Make migration name: This will generate a data migration file named Time + migration name in the App/database/migrations directory. PHP Artisan is automatically executed once dump-autoload command PHP artisan migrate:Refresh: Resets and re-executes all data migrations PHP artisan migrate:Reset: Rollback of all data migrations PHP artisan migrate:rollback: Rollback last Data migration PHP artisan session: Table: Generate a Data migration file for session
Laravel Artisan Command Tool