Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Code Block
languagebash
$ composer require barryvdh/laravel-debugbar --dev


auto discovery 가 되지만 개인적으로는 선호하지 않으므로config/app.php 의 Provider 에 다음 클래스를 등록합니다. 

Code Block
Barryvdh\Debugbar\ServiceProvider::class,

...

Code Block
languagebash
$ composer require --dev  barryvdh/laravel-ide-helper


설치후에 AppServiceProvider.php 에 ide-helper 등록

Code Block
languagephp
public function register()
{
   if ($this->app->isLocal()) {
       $this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);
   }
}  

...

  • _ide_helper.php
  • _ide_helper_models.php
  • .phpstorm.meta.php
Code Block
languagebash
echo _ide_helper.php >> .gitignore
echo _ide_helper_models.php >> .gitignore
echo .phpstorm.meta.php >> .gitignore


Laravel dump-server

...