uams-web/aether-calculators
| Install | |
|---|---|
composer require uams-web/aether-calculators |
|
| Latest Version: | v0.1.1 |
| PHP: | ^8.4 |
| Laravel: | 12 · 13 |
| License: | MIT |
| Last Updated: | Dec 1, 2026 |
| Links: | GitHub · Packagist |
Aether Calculators
A Statamic add-on that holds the calculators collection and the tools that go with it, as its own package so a site installs it only when it needs calculators. It was moved out of the UAMS site (UAMS-Web/uams-statamic#1608).
What it provides
- The
calculatorscollection'scalculatorblueprint, served as the collection's own, so the collection keeps its handle and a host's saved override underresources/blueprints/vendor/collections/calculators/still wins. Serving a collection blueprint from an add-on needs thestatamic/cmspatchstatamic-blueprint-namespace-slash.patch(UAMS-Web/patches-statamic-cms#6), which the host applies; the add-on requires it only for its own tests. - A save-time check on
calculatorsentries (ValidateCalculatorEntry): exactly one primary variable, no formula that names a split sub-handle, and no handle collisions. - The
calculator_layoutAntlers tag, which classifies a calculator's parts for the equation the partial displays. - The
calculatorssearch index (titleandnote), defined unless the host defines it.
The Bard set that picks a calculator (uamsweb_set_calculator) and its view belong to uams-web/aether-page-builder. The blueprint imports the host's uamsweb_common and uamsweb_computed_content_usage fieldsets by their bare handles.
Requirements
- PHP 8.4 or later
- Statamic 6.35 or later
Installation
composer require uams-web/aether-calculators
Statamic discovers the service provider through extra.laravel.providers in composer.json, so there is nothing to register by hand. To change the add-on's settings, publish its configuration to the host's config/ directory:
php artisan vendor:publish --tag=aether-calculators-config
License
MIT. See LICENSE.
Development
- Development guide: the host application the add-on is exercised in, and the commands to run.
- Submission checklist: the Packagist and Marketplace steps.
composer ciruns the gate: repository guards, Pint, Rector, Larastan and Pest.
Related Packages
Control Panel form settings for Statamic: notification routing and conditions, c...
CSP-safe Alpine form JavaScript driver for Statamic public forms, with a $showFi...
The enums UAMS Statamic sites read (countries, currencies, languages, U.S. geogr...
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| v0.1.1 | ^8.4 | MIT | |
| v0.1.0 | ^8.4 | MIT |