🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
<code>php artisan serve</code>: 开启服务器 <br/> <code>php artisan make:migration create_demos_table --create=demos</code>: 创建Laravel数据表 <code>php artisan migrate</code>: 迁移数据 <code>php artisan make:controller DemoController</code>: 创建控制器 <code>php artisan make:model Demo</code>: 创建模型 <br/> <code>php artisan make:resource Demo</code>: 創建快速建立模型和 JSON 返回数据之间的桥梁 <code>php artisan key:generate</code>: 創建接口密钥 <code>composer update --no-scripts</code>: 跳过 composer.json 文件中定义的脚本 <code>php artisan view:clear</code>: 视图缓存 <code>php artisan cache:clear</code>: 清除运行缓存 <code>php artisan config:clear</code>: 清除配置缓存 <code>php artisan make:mail Demo</code>: 创建邮件资源 <code>php artisan make:model Demo -fmc</code>:快速新增Controller,Model,Migrate,Factory