Preparation of development frameworks laravel

1. Install

composer create-project --prefer-dist laravel/laravel 项目名 "5.5.*"

2. Install Development Kit

composer require barryvdh/laravel-ide-helper

In the providers config / app.php file  and add the following array

Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,

Execute file generation _ide_helper.php

php artisan ide-helper:generate

Change the time zone

'time_zone' =>'PRC'

Plug-in installation

composer require barryvdh/laravel-debugbar

Open the config / app.php file providers  add the following

Barryvdh\Debugbar\ServiceProvider::class,

Generate a configuration file

php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"

3. Delete the default directory and file laravel

recourses > views > welcome.blade.php

database > migrations >

app > Http >Controllers > Auth 

After the removal is complete, execute

composer dump

 

 

Guess you like

Origin www.cnblogs.com/konglingxin/p/11302234.html