uams-web / aether-posts
Posts, post categories and post tags for Statamic sites.
Package info
github.com/UAMS-Web/aether-posts
Language:JavaScript
Type:statamic-addon
pkg:composer/uams-web/aether-posts
Requires
- php: ^8.4
- statamic/cms: ^6.35
- uams-web/aether-page-builder: >=0.1 <1.0
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
- uams-web/patches-statamic-cms: ^1.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-01 15:26:50 UTC
README
A Statamic add-on that holds posts, post categories and post tags: the posts, post_categories and post_tags collections that UAMS sites share. It is its own add-on so that every site installing it gets one definition of those collections. It is part of the Aether ecosystem of UAMS Statamic add-ons.
The add-on ships the three collections' blueprints (post, news_release, audio and video for posts, post_category and post_tag), the fieldsets and templates that belong to them, the PostsInPostCategory, PostsInPostTag and TopLevelPostCategories scopes, the news query services and the posts_category_link_url tag. Every handle is unchanged from the site's. The page builder's News block is not registered from here yet: aether-page-builder 0.1.0 still registers it, and the add-on takes it over when a release of the page builder drops its copy.
Requirements
- PHP 8.4 or later
- Statamic 6.35 or later
uams-web/aether-page-builder, which the add-on requires so the News block and the Bard sets in the post blueprints resolve
Installation
composer require uams-web/aether-posts
Publish the add-on's configuration file if you want to change its settings:
php artisan vendor:publish --tag=aether-posts-config
Host requirements
The add-on serves its collection blueprints from its own directories, which needs the statamic-blueprint-namespace-slash patch for statamic/cms from uams-web/patches-statamic-cms. Without it, a collection that lists its blueprints fails with "Undefined array key 0". A host application requires that package and lists the patch in its own patch configuration; this repository applies it as a dev patch for its tests.
The blueprints and templates import the host's own fieldsets (uamsweb_common, uamsweb_post_settings, uamsweb_post_behavior and others) and call the host's partials (layout/article, typography/media_credit and others) by bare name, so the host keeps them. The templates are added after the host's views, so a copy of one in the host's resources/views wins.
Development
The development guide covers running the add-on inside a host application, and the submission checklist covers the Packagist and Marketplace steps. The gate is composer ci.
License
MIT. See LICENSE.