mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 18:13:11 +00:00
Add preload/compiled.php to helpers
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
### 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.
|
||||
You can also add Laravel/framework/preload/compiled.php to your dependencies/libraries to include all real namespaces (Laravel & Symfony), so you can link through to the original implementation.
|
||||
This way you don't need to index/download your entire vendor folder.
|
||||
The file has been tested in Netbeans 7.3 and PHPStorm 6.
|
||||
|
||||
### Automatic phpDoc generation for Laravel Facades
|
||||
@@ -30,7 +28,8 @@ You can just add the Facade and the 'real' class, like the rest of the classes.
|
||||
'Basset' => 'Basset\Basset',
|
||||
|
||||
You can choose to include helper files. This is not enabled by default, but you can override this with the --helpers (-H) or --nohelpers (-N) option.
|
||||
The Illuminate/Support/helpers.php file is already set-up, but you can add your own files in the config file.
|
||||
The Illuminate/Support/helpers.php and laravel/framework/preload/compiled.php are already set-up, but you can add/remove your own files in the config file.
|
||||
Using this option, allows you to have more complete code completion without having to include the vendor dir.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user