Study on laravel-php Artisan

Source: Internet
Author: User

The PHP artisan command is the CLI (command line interface) provided by the Laravel, which helps developers to easily develop

php artisan list     //查看所有可用 artisan 命令php artisan help [command]     // 查看command 命令的信息
Command Description
PHP Artisan Key:generate Build APP Key
PHP Artisan Make:controller Build controller
PHP Artisan Make:model Build model
PHP Artisan Make:policy Generate Authorization Policy
PHP Artisan Make:seeder Generate Seeder File
PHP Artisan Db:seed Populating the Database
PHP Artisan Migrate Build migration
PHP Artisan Migrate:rollback Roll back migration
PHP Artisan Migrate:refresh Resetting the database
PHP Artisan Tinker Enter the Tinker environment
PHP Artisan route:list View the list of routes

Frequently used or handy instructions will continue to be added later
The underlying implementation has time to parse.

Study on laravel-php Artisan

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.