-
當(dāng)前鏡像地址: composer config -g repo.packagist查看全部
-
安裝包數(shù)據(jù)從github.com下載,元數(shù)據(jù)從packagist.org下載查看全部
-
填充數(shù)據(jù)命令。記錄一下查看全部
-
Artisan 基本使用查看全部
-
主要步驟: 遷移隊(duì)列需要的數(shù)據(jù)表 編寫(xiě)任務(wù)類 推送任務(wù)到隊(duì)列 運(yùn)行隊(duì)列監(jiān)聽(tīng)器 處理失敗任務(wù) 配置 config/queue.php 1.生成遷移文件 php artisan queue:table php artisan migrate 2.創(chuàng)建任務(wù)類 php artisan make:job xxx 3.推送任務(wù)到隊(duì)列 $this->dispatch(new xxx($para)); 4.運(yùn)行隊(duì)列監(jiān)聽(tīng)器 php artisan queue:listen 5.處理失敗任務(wù) //生成失敗遷移表 php artisan queue:failed-table php artisan migrate //查看失敗任務(wù) php artisan queue:failed //執(zhí)行某個(gè)失敗任務(wù) // retry id php artisan queue:retry id //執(zhí)行全部失敗任務(wù) php artisan queue:all //刪除某個(gè)任務(wù) //forget id php artisan queue:forget id //刪除所有任務(wù) php artisan queue:flush查看全部
-
日志。查看全部
-
HTTP異常查看全部
-
Debug模式查看全部
-
laravel的緩存使用介紹查看全部
-
郵件 swiftMailer查看全部
-
采集: disk()參數(shù)名字要和 filesystems.php中添加的配置項(xiàng) 名字要一致 eg: 'upFiles'=>[ 'driver'=>'local', 'root'=>storage_path('app/uploads'), ] 那你就得 Storage::disk('upFiles')->put($upFile,file_get_contents($path));查看全部
-
配置文件 config/filesystems.php 磁盤配置查看全部
-
示例代碼查看全部
-
laravel文件系統(tǒng)查看全部
-
數(shù)據(jù)填充查看全部
舉報(bào)
0/150
提交
取消