laravel-admin

框架

  • laravel 6.0
  • laravel-ide-helper
  • laravel-debugbar
  • laravel-admin

更换国内源

composer config -g repo.packagist composer https://packagist.phpcomposer.com

composer config -g repo.packagist composer https://packagist.laravel-china.org

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer

通过composer安装laravel

composer create-project --prefer-dist laravel/laravel=6.* test

# 创建项目
create-project

# 以压缩方式下载
--prefer-dist

# 下载的版本
laravel/laravel=6.*

# 自定义项目名称
test

composer require 安装指定的源码包
composer self-update 软件更新
composer autoload-dump
composer dump

phpstorm支持插件安装

composer require barryvdh/laravel-ide-helper

#config/app中添加
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class, 

# terminal运行
php artisan ide-helper:generate

debugbar

composer require barryvdh/laravel-debugbar

#config/app中添加
Barryvdh\Debugbar\ServiceProvider::class, 

laravel-admin

composer require encore/laravel-admin

# 发布资源
php artisan vendor:publish --provider="Encore\Admin\AdminServiceProvider"


php artisan admin:install

posted on 2023-02-28 13:46  何苦->  阅读(40)  评论(0编辑  收藏  举报

导航