---
# System prepended metadata

title: Laravel-Admin的檔案
tags: [Laravel-Admin]

---

---
title: Laravel-Admin的檔案
tags: Laravel-Admin
---

檔案內容
---
1. 安裝目錄為app/Admin 裡面的檔案結構
    ![](https://i.imgur.com/MQUpAhw.png)
    ```
    app/Admin
    ├── Controllers
    │   ├── ExampleController.php
    │   └── HomeController.php
    ├── bootstrap.php
    └── routes.php
    ```
2. 檔案用途
    * app/Admin/routes.php => 設置路由
    * app/Admin/bootstrap.php => 啟動文件
    * app/Admin/Controllers => 存放控制器的目錄
    * app/Admin/Controllers/HomeController.php => 後台首頁顯示控制器
    * app/Admin/Controllers/ExampleController.php => 範例檔案
    * /public/vendor/laravel-admin => 存放前端文檔

