项目地址:https://github.com/the-control-group/voyager

看readme.md,其中很重要的一句 :Laravel Admin & BREAD System (Browse, Read, Edit, Add, & Delete), made for Laravel 5.3.

要求安装 的laravel 版本为5.3

第一步:创建laravel 5.3项目

composer create-project laravel/laravel voyager --prefer-dist "5.3.*" 


第二步:
composer require tcg/voyager

第三步: 配置env
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret


config/app.php
'providers' => [
    // Laravel Framework Service Providers...
    //...

    // Package Service Providers
    TCG\Voyager\VoyagerServiceProvider::class,
    // ...

    // Application Service Providers
    // ...
],



php artisan voyager:install --with-dummy



php artisan serve 

visit http://localhost:8000/admin.




laravel voyager 安装


laravel voyager 安装

laravel voyager 安装

laravel voyager 安装

相关文章:

  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-27
  • 2022-12-23
  • 2021-04-03
  • 2021-05-17
  • 2021-09-13
相关资源
相似解决方案