
官网:https://laravel.com
中文社区:https://learnku.com/laravel
中文文档:
源码地址:
常用命令:
迁移
php artisan migratephp artisan passport:install
指定数据表填充数据
php artisan db:seed --class=UsersTableSeederphp artisan db:seed --class=BrandsTableSeederphp artisan db:seed --class=CountriesTableSeeder
计划任务
php artisan schedule:run
队列
php artisan queue:work
清空
php artisan config:clearphp artisan cache:clearphp artisan route:clearcomposer dump-autoload
开发环境下:
php artisan ide-helper:generate- 为 Facades 生成注释php artisan ide-helper:models- 为数据模型生成注释php artisan ide-helper:meta- 生成 PhpStorm Meta file
