Search by

uams-web / aether-campus

joshdaughertybpmore

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

Statistics

Installs: 926

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 3

v0.1.0 2026-11-29 02:35 UTC

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 facilities collection's five blueprints (building, building_complex, building_division, parking_division, parking_facility), served as collections.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, resolveState and resolvePostalCode, each taking an Entry and returning ?string.
    • UAMSWeb\Aether\Campus\Contracts\ResolvesFacilityParking: resolveParkingFacility (?Entry), resolveParkingFacilityName (?string), resolveParkingInstructions and resolveDirectionsFromParking (mixed), and resolveParkingFree and resolveParkingValidated (?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-slash patch from uams-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.