Skip to content

Task guide

github-actions[bot] edited this page Dec 1, 2026 · 3 revisions

Written against v0.1.0.

Another Aether add-on needs a field or utility that Aether Shared will hold, and should depend on the package instead of carrying its own copy.

Steps

  1. Require the package from the add-on's repository: composer require uams-web/aether-shared. The package is not on Packagist yet, so first add a path repository for it, as the development guide shows.
  2. Keep the constraint compatible with the package's floors: PHP 8.4 or later and Statamic 6.35 or later.
  3. Import shared classes from the UAMSWeb\Aether\Shared namespace. The package holds no classes besides its service provider yet, so there is nothing else to import until a shared piece is released.
  4. Run the add-on's own tests with the package installed, and check that the package loaded in a host install.

Reference

  • Reference: the namespace and the service provider this guide refers to.

Clone this wiki locally