filipac / oc-idehelper-plugin
OctoberCMS plugin to make development easier by providing IDE helpers
Installs: 99
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 0
Type:october-plugin
pkg:composer/filipac/oc-idehelper-plugin
Requires
- barryvdh/laravel-ide-helper: ^2.8
- composer/installers: ~1.0
- illuminate/support: ~5.5.40|~6.0
README
This plugin adds barryvdh/ide-helpers package to October for better IDE support. Also extends the models command to add the magic in helper file/docblocks. For now it looks to methods, properties from the ExtendableTrait (added by plugins or extended by you) and also adds every relation you define in models or is defined using OC Extendable.
Installation
composer require filipac/oc-idehelper-pluginORgit cloneinto /plugins/filipac/idehelperphp artisan ide-helper:generate --helpers --no-interactionphp artisan ide-helper:models --nowrite --reset --no-interaction
Configuration
No configuration is necessary, but for use of php artisan ide-helper:models you may need to edit /config/config.php to include the model files you wish to be scanned. You can also copy the config file to config/filipac/idehelper to avoid overwrite on update.
TODO
- Auto clear-compiled/generate/optimize after update