Skip to content

Commit 4730309

Browse files
committed
Add IDE helper for all functions
1 parent 50558db commit 4730309

File tree

4 files changed

+182
-4
lines changed

4 files changed

+182
-4
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ Vagrantfile
1313
node_modules
1414
yarn.lock
1515
node_modules
16+
17+
_ide_helper_models.php
18+
19+
_ide_helper.php

app/Providers/AppServiceProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ public function boot()
4949
*/
5050
public function register()
5151
{
52-
//
52+
if ($this->app->environment() !== 'production') {
53+
$this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);
54+
}
5355
}
5456
}

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"phpunit/phpunit": "~5.0",
3939
"symfony/css-selector": "3.1.*",
4040
"symfony/dom-crawler": "3.1.*",
41-
"laravel/homestead": "3.0.*"
41+
"laravel/homestead": "3.0.*",
42+
"barryvdh/laravel-ide-helper": "^2.3"
4243
},
4344
"autoload": {
4445
"classmap": [

composer.lock

Lines changed: 173 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)