uams-web / aether-campus
Facilities, buildings and parking for Statamic, with address and parking resolvers.
Package info
github.com/UAMS-Web/aether-campus
Language:JavaScript
Type:statamic-addon
pkg:composer/uams-web/aether-campus
Requires
- php: ^8.4
- statamic/cms: ^6.35
Requires (Dev)
- cweagans/composer-patches: ^2.0
- driftingly/rector-laravel: ^2.6
- larastan/larastan: ^3.13
- laravel/pint: ^1.32
- orchestra/testbench: ^11.3
- pestphp/pest: ^5.3
- pestphp/pest-plugin-phpstan: ^5.2
- phpstan/phpstan-mockery: ^2.0
- rector/rector: ^2.7
- uams-web/patches-orchestra-testbench-core: ^1.1.0
- uams-web/patches-pest-plugin-mutate: ^1.4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-01 17:18:34 UTC
README
Facilities, buildings and parking for UAMS Statamic sites, with address and parking resolvers. The add-on is part of the Aether ecosystem and lives under the UAMSWeb\Aether\Campus namespace.
What it provides
- The
facilitiescollection's five blueprints (building,building_complex,building_division,parking_division,parking_facility), served ascollections.facilities.<blueprint>with every handle unchanged. - Computed values on
facilities: the resolved street address, the resolved parking values, and the reverse references (areas_served_for_parking,contained_locations). - Two interfaces for other add-ons, bound in the container:
UAMSWeb\Aether\Campus\Contracts\ResolvesFacilityAddress:resolveStreetAddress,resolveCity,resolveStateandresolvePostalCode, each taking anEntryand returning?string.UAMSWeb\Aether\Campus\Contracts\ResolvesFacilityParking:resolveParkingFacility(?Entry),resolveParkingFacilityName(?string),resolveParkingInstructionsandresolveDirectionsFromParking(mixed), andresolveParkingFreeandresolveParkingValidated(?bool).
The add-on reaches the clinical_locations collection by handle only and works without it.
Requirements
- PHP 8.4 or later
- Statamic 6.35 or later
- A host that carries the
statamic-blueprint-namespace-slashpatch fromuams-web/patches-statamic-cms: without it, a collection that lists its blueprints from an added namespace fails with "Undefined array key 0".
Installation
Check the requirements first, then:
composer require uams-web/aether-campus
The service provider is discovered through extra.laravel.providers. To publish the configuration file:
php artisan vendor:publish --tag=aether-campus-config
License
MIT. See LICENSE.
Development
Developing against a host application is covered in the development guide, and the Packagist and Marketplace steps in the submission checklist. The gate is composer ci; AGENTS.md lists the commands.
Decisions are recorded in docs/DECISIONS.md.