OctoberCMS plugin to make development easier by providing IDE helpers
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.
composer require filipac/oc-idehelper-pluginOR
git cloneinto /plugins/filipac/idehelper
php artisan ide-helper:generate --helpers --no-interaction
php artisan ide-helper:models --nowrite --reset --no-interaction
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.
- Auto clear-compiled/generate/optimize after update