php artisan list make
---------------------------9
storage 一些緩存
routers 四類路由
resources 模板等未編譯的前端文件
public 項目入口文件
bootstrap 框架載入文件
configapp所有配置
database數(shù)據(jù)庫遷移目錄
make:migration Create a new migration file
tests 測試文件夾
make:test Create a new test class
make:seeder Create a new seeder class Laravel 可以用 seed 類輕松地為數(shù)據(jù)庫填充測試數(shù)據(jù)。
app
創(chuàng)新互聯(lián)于2013年創(chuàng)立,是專業(yè)互聯(lián)網(wǎng)技術服務公司,擁有項目成都網(wǎng)站制作、做網(wǎng)站網(wǎng)站策劃,項目實施與項目整合能力。我們以讓每一個夢想脫穎而出為使命,1280元旺蒼做網(wǎng)站,已為上家服務,為旺蒼各地企業(yè)和個人服務,聯(lián)系電話:18982081108
app目錄
Models
make:model Create a new Eloquent model class
php artisan make:model Models/Test
Services
業(yè)務邏輯
make:factory Create a new model factory
make:observer Create a new observer class
make:policy Create a new policy class
Broadcasting
目錄包含了應用所需的所有廣播頻道類
該目錄默認不存在
make:channel Create a new channel class
Console目錄
目錄包含應用所有自定義的 Artisan 命令
make:command Create a new Artisan command
Events目錄
event:generate 和 make:event
該目錄用于存放事件類
make:event Create a new event class
Exceptions目錄
Exceptions 目錄包含應用的異常處理器
自定義異常如何記錄或渲染,需要編輯該目錄下的 Handler 類
make:exception Create a new custom exception class
Http目錄
Http 目錄包含了控制器、中間件以及表單請求等,幾乎所有通過 Web 進入應用的請求處理都在這里進行。
make:request Create a new form request class app/Http/Requests 目錄下
make:controller Create a new controller class app/Http/Controllers 目錄下
make:resource Create a new resource 創(chuàng)建一個資源轉化器 app/Http/Resources 目錄下
make:auth Scaffold basic login and registration views and routes app/Http/Controllers 目錄下 HomeController.php和一系列模板
make:middleware Create a new middleware class app/Http/Middleware 目錄下
Jobs目錄
目錄用于存放隊列任務
該目錄默認不存在
make:job Create a new job class
Listeners目錄
event:generate 和 make:listener
這個目錄默認不存在
目錄包含處理事件的類(事件監(jiān)聽器)
make:listener Create a new event listener class
Mail目錄
這個目錄默認不存在
目錄包含應用所有郵件相關類
make:mail Create a new email class
Notifications目錄
Notifications 目錄包含應用發(fā)送的所有通知
這個目錄默認不存在,
make:notification Create a new notification class
Policies目錄
這個目錄默認不存在
目錄包含了應用所有的授權策略類
make:policy
Providers目錄
目錄包含應用的所有服務提供者。
make:provider Create a new service provider class
Rules目錄
目錄包含應用的自定義驗證規(guī)則對象
該目錄默認不存在
make:rule Create a new validation rule
分享標題:Laravel命令解析
本文網(wǎng)址:http://jinyejixie.com/article26/ghoojg.html
成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供做網(wǎng)站、手機網(wǎng)站建設、外貿(mào)網(wǎng)站建設、定制開發(fā)、網(wǎng)站導航、服務器托管
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉載內(nèi)容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)