Composer安装

https://getcomposer.org/download/

image

image

安装是否成功测试

image

(三)安装composer.json【参考:https://www.cnblogs.com/xiaoleiel/p/11160516.html

{
     "require": {
         "guzzlehttp/guzzle": "4.2.*",
         "league/csv": "6.0.*",
         "spatie/string": "1.8.*"
     }
}

image

生成如下文档结构

image

(四)安装Laravel框架

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

image

image

(五)安装Laravel DebugBarhttps://blog.csdn.net/h330531987/article/details/79088413

①:composer require barryvdh/laravel-debugbar

image

:配置【Barryvdh\Debugbar\ServiceProvider::class】【'Debugbar' => Barryvdh\Debugbar\Facade::class】

image

③:安装config\debugbar.php 【php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"】

image

修改debugbar.php 配置文件项目

image

④:页面测试是否安装成功【php artisan serve】【php artisan serve --host 0.0.0.0】

image

posted @ 2020-02-19 10:56  李华丽  阅读(36)  评论(0编辑  收藏  举报
AmazingCounters.com