edalzell/forma
Larablocks Analysis
edalzell/forma works with Laravel 10, 11 and 12 (latest release v3.1.2, Aug 29, 2025).
Laravel 7, 8 and 9 in earlier releases.
Recommendation checks
Use with careUse with care: meets 0 of 4 checks.
- Latest release doesn't support Laravel 13, the current version
- No release in the last 12 months (last: Aug 29, 2025)
- 957 downloads a month (needs 10,000)
- 10 GitHub stars (needs 100)
State
Quiet- Last stable release: Aug 29, 2025.
- No releases in the last 12 months.
- First released: Nov 6, 2020.
- Monthly downloads: 957.
- 1 open issue on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 30, 2026.
| Install | |
|---|---|
composer require edalzell/forma |
|
| Latest Version: | v3.1.2 |
| PHP: | ^8.0 |
| Laravel: | 10 · 11 · 12 |
| Older releases: | 7 · 8 · 9 |
| License: | mit |
| Last Updated: | Oct 25, 2025 |
| Links: | GitHub · Packagist |
Give your Statamic addons a beautiful configuration page in the control panel
This package provides an easy way to let users configure your addon.
Requirements
- PHP 8.2+
- Laravel 10.0+
- Statamic 4.0+
Installation
You can install this package via composer using:
composer require edalzell/forma
The package will automatically register itself.
Usage
First, create a config.yaml file in resources\blueprints 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:
parent::boot();
\Edalzell\Forma\Forma::add('statamic-rad-pack/mailchimp', ConfigController::class);
The second parameter is optional and only needed if you need custom config handling (see Extending below)
There is a 3rd parameter handle you can use if the config file is NOT the addon's handle.
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 (or $handle as per above) in the config folder.

Permissions
There is a Manage Addon Settings permission that must be enabled to allow a user to update the settings of any Forma-enabled addons.
Extending
If your addon needs to wangjangle the config before loading and after saving, create your own controller that extends \Edalzell\Forma\ConfigController and use the preProcess and postProcess methods.
For example, the Mailchimp addon stores a config like this:
'user' => [
'check_consent' => true,
'consent_field' => 'permission',
'merge_fields' => [
[
'field_name' => 'first_name',
],
],
'disable_opt_in' => true,
'interests_field' => 'interests',
],
But there is no Blueprint that supports that, so it uses a grid, which expects the data to look like:
'user' => [
[
'check_consent' => true,
'consent_field' => 'permission',
'merge_fields' => [
[
'field_name' => 'first_name',
],
],
'disable_opt_in' => true,
'interests_field' => 'interests',
]
],
Therefore in its ConfigController:
protected function postProcess(array $values): array
{
$userConfig = Arr::get($values, 'user');
return array_merge(
$values,
['user' => $userConfig[0]]
);
}
protected function preProcess(string $handle): array
{
$config = config($handle);
return array_merge(
$config,
['user' => [Arr::get($config, 'user', [])]]
);
}
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email addon-security@silentz.co instead of using the issue tracker.
License
MIT License
Related Packages
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v3.1.2 | ^8.0 | ^10.0 || | mit | |
| v3.1.1 | ^8.0 | ^10.0 || | mit | |
| v3.1.0 | ^8.0 | ^10.0 || | mit | |
| v3.0.1 | ^8.0 | ^10.0 || | mit | |
| v3.0 | ^8.0 | ^10.0 || | mit | |
| v2.2.0 | ^8.0 | ^9.6 || | mit | |
| v2.1 | ^8.0 | ^9.6 || | mit | |
| v2.0.2 | ^8.0 | ^9.6 || | mit | |
| v2.0.1 | ^8.2 | ^9.6 || | mit | |
| v2.0 | ^8.2 | ^10.0 | mit | |
| v1.3.0 | ^7.4 || | ^7.30.3 || | mit | |
| v1.2.1 | ^7.4 || | ^7.30.3 || | mit | |
| v1.2 | ^7.4 || | ^7.30.3 || | mit | |
| v1.1 | ^7.4 || | ^7.30.3 || | mit | |
| v1.0 | ^7.4 || | ^7.30.3 || | mit | |
| v0.8.12 | ^7.4 || | ^7.30.3 || | mit | |
| v0.8.11 | ^7.4 || | ^7.0 || | mit | |
| v0.8.10 | ^7.4 || | ^7.0 || | mit | |
| v0.8.9 | ^7.4 || | ^7.0 || | mit | |
| v0.8.8 | ^7.4 || | ^7.0 || | mit | |
| v0.8.7 | ^7.4 || | ^7.0 || | mit | |
| v0.8.6 | ^7.4 || | ^7.0 || | mit | |
| v0.8.5 | ^7.4 || | ^7.0 || | mit | |
| v0.8.4 | ^7.4 | ^7.0 || | mit | |
| v0.8.3 | ^7.4 | ^7.0 || | mit | |
| v0.8.2 | ^7.4 | ^7.0 || | mit | |
| v0.8.1 | ^7.4 | ^7.0 || | mit | |
| v0.8 | ^7.4 | ^7.0 || | mit | |
| v0.7.2 | ^7.4 | ^7.0 || | mit | |
| v0.7.1 | ^7.4 | ^7.0 || | mit |
Showing the latest 30 of 34. See every release on Packagist