mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
Seperated generated file from package. Added --sublime option
This way the package will be updated less, and you don't have double IDE helpers (in you vendor dir, and the generated version). Also added a Sublimetext version, with different way of calling the root class.
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
|
||||
### Complete phpDocs, directly from the source
|
||||
|
||||
Add the _IDE_helper.php to your laravel folder (not in a public folder). The file isn't used by Laravel, but it has to be indexed by your IDE.
|
||||
The file has been tested in Netbeans 7.3 and PHPStorm 6.
|
||||
Add the helper file to your laravel folder (not in a public folder). The file isn't used by Laravel, but it has to be indexed by your IDE.
|
||||
|
||||
Netbeans 7 and PHPStorm 6 version: https://gist.github.com/barryvdh/5227822
|
||||
SublimeText CodeIntel version: https://gist.github.com/barryvdh/5227814
|
||||
|
||||
### Automatic phpDoc generation for Laravel Facades
|
||||
|
||||
@@ -19,6 +21,10 @@ You can now re-generate the docs yourself (for future updates) in arisan
|
||||
|
||||
php artisan ide-helper:generate
|
||||
|
||||
If you use SublimeText CodeIntel, the format is a bit different. So add --sublime (or -S) to your command
|
||||
|
||||
php artisan ide-helper:generate -S
|
||||
|
||||
You can also publish the config-file to add extra facades (ie. for bundles).
|
||||
|
||||
php artisan config:publish barryvdh/laravel-ide-helper
|
||||
|
||||
Reference in New Issue
Block a user