Skip to content

Instantly share code, notes, and snippets.

@tmknom
Created January 18, 2015 23:05
Show Gist options
  • Save tmknom/0d4beef876ac501d8b6f to your computer and use it in GitHub Desktop.
Save tmknom/0d4beef876ac501d8b6f to your computer and use it in GitHub Desktop.
Laravel IDE補完 メモ

composer.json に追記

"require": {
        "laravel/framework": "4.2.*",
        "barryvdh/laravel-ide-helper": "1.*",
        ...
},

コマンド実行

composer update

app/config/app.php に追記

    'providers' => array(
        ...
        'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider',
    },

composer.json に追記

    "scripts": {
        "post-install-cmd": [
            "php artisan clear-compiled",
            "php artisan optimize"
        ],
        "post-update-cmd": [
            "php artisan clear-compiled",
            "php artisan ide-helper:generate",
            "php artisan optimize"
        ],

コマンド実行

composer update

by http://qiita.com/kidd_jp/items/b9578e26563d9e528bcf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment