- Posted July 15, 2017
- Developer Tools
Overriding configuration provides a powerful method of extending and/or customizing addon and streams platform configuration files as well as settings, preferences, and addon instance configurations since they too utilize configuration files.
Configuration file overrides are recursively merged into the originals.
To get started first publish the desired addon:
php artisan addon:publish anomaly.module.posts
You can find the published files in your application resources directory:
Simply change the configuration files as needed or add new ones. Then delete whatever files you don't need to override.
Streams Platform Views
You can publish and override configuration files in the streams platform following a similar pattern:
php artisan streams:publish
The published files are again in your application resources directory: