跳到主內容

Laravel

php artisan cache:clear clean basic cache  
php artisan route:cache clean route cache  
php artisan config:cache clean config cache  
     
php artisan make:model ??? -m -s
create model, migration(-m) and seeder(-s)
 
php artisan make:seeder ???Seeder create seeder  
php artisan migrate run migration  
php artisan make:migration add_image_token --table=user_jwt_tokens
   
php artisan migrate:refresh --seed run clean migration and all sedder  
php artisan migrate:rollback --step=0 undo all migration  
php artisan make:controller ???Controller --resource create controller with basic function  
php artisan make:controller ??? create controller  
composer dump-autoload reload file  
php artisan route:list get route list  
php artisan db:seed --class=???Seeder run seeder  
php artisan db:seed run all seeder  
php artisan schedule:list view all event  
     
php artisan adminlte:plugins check adminlte Plugin jeroennoten/Laravel-AdminLTE
php artisan adminlte:plugins install --plugin=???? install adminlte Plugin
jeroennoten/Laravel-AdminLTE
composer install    
composer dump-autoload    
/workdir/application/node_modules/laravel-echo-server/bin/server.js start