Laravel Artisan Command Tool

Source: Internet
Author: User
Tags autoload

//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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.