Skip to content

Instantly share code, notes, and snippets.

@Mombuyish
Created April 25, 2017 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mombuyish/3d9c493393ad6b3b9eeaf06f31847824 to your computer and use it in GitHub Desktop.
Save Mombuyish/3d9c493393ad6b3b9eeaf06f31847824 to your computer and use it in GitHub Desktop.
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
public function register()
{
if ($this->app->environment() !== 'production') {
$this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);
}
// ...
}
"scripts":{
"post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
"php artisan ide-helper:generate",
"php artisan ide-helper:meta",
"php artisan optimize"
]
},
$ composer require doctrine/dbal
$ composer require barryvdh/laravel-ide-helper --dev
$ php artisan ide-helper:generate
$ php artisan ide-helper:models Post
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment