Give control panel access to your addon's config
This package provides an easy way to let users configure your addon.
- PHP 7.4+
- Statamic v3
You can install this package via composer using:
composer require edalzell/forma
The package will automatically register itself.
First, create a
config.yaml file in
resources\config that contains the blueprint for your configuration. As an example, see Mailchimp's, here.
Then, in the
boot method of your addon's Service Provider add:
Once you do that, you get a menu item in the cp that your users can access and use. All data is saved into your
addon_handle.php in the
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email email@example.com instead of using the issue tracker.