uams-web / aether-blueprint-labels
Per-blueprint create labels for the Statamic Control Panel: the create-entry and create-term buttons show a label chosen by the blueprint, without patching statamic/cms.
Package info
github.com/UAMS-Web/aether-blueprint-labels
Language:JavaScript
Type:statamic-addon
pkg:composer/uams-web/aether-blueprint-labels
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/pest-plugin-testbench: ^5.1
- orchestra/testbench: ^11.3
- pestphp/pest: ^5.3
- pestphp/pest-plugin-phpstan: ^5.2
- rector/rector: ^2.7
- uams-web/patches-orchestra-testbench-core: ^1.2.0
- uams-web/patches-pest-plugin-mutate: ^1.4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- dev-62-register-serializable-classes
- dev-53-move-pr-body-checks-pin
- dev-36-add-shared-spell-check
- dev-32-register-url-stat-patch
- dev-30-upgrade-symfony-audit
- dev-21-verify-wiki-reference
- dev-wiki-document-the-add-on
- dev-18-run-full-mutation-pass-weekly
- dev-10-turn-on-mutation-testing
- dev-3-per-blueprint-taxonomy-create-label
- dev-2-per-blueprint-collection-create-label
- dev-4-add-mit-license
- dev-8-move-ci-workflows-pin-to-v0-17-0
- dev-1-replace-template-placeholders
This package is auto-updated.
Last update: 2026-12-03 16:06:42 UTC
README
A Statamic add-on that shows a label chosen by the blueprint on the Control Panel's create-entry and create-term buttons, without patching statamic/cms.
It is the interim home for two behaviors that UAMS-Web/patches-statamic-cms carries as patches while they are offered upstream, so a site can drop the patches before a statamic/cms release carries the behavior. Both labels are built: the create-entry label for collections and the create-term label for taxonomies.
Requirements
- PHP 8.4 or later
- Statamic 6.35 or later
Installation
composer require uams-web/aether-blueprint-labels
The floors are under Requirements. Statamic discovers the add-on through extra.statamic and the service provider through extra.laravel.providers in composer.json; there is nothing to register by hand. The add-on has no settings, so it publishes no configuration file.
Create-entry labels
A collection's create-entry label reads messages.<collection>_collection_create_entry.<blueprint> for the blueprint the Control Panel passes in the blueprint query parameter, then messages.<collection>_collection_create_entry, then Create Entry. Write the keys as flat keys in lang/en/messages.php:
return [ 'pages_collection_create_entry' => 'Create Page', 'pages_collection_create_entry.news' => 'Create News Article', ];
The wiki's Reference lists the cases.
Create-term labels
A taxonomy's create-term label works the same way, with messages.<taxonomy>_taxonomy_create_term.<blueprint>, then messages.<taxonomy>_taxonomy_create_term, then Create Term:
return [ 'tags_taxonomy_create_term' => 'Create Tag', 'tags_taxonomy_create_term.topic' => 'Create Topic Tag', ];
Documentation
- Development guide: exercising the add-on in a Statamic host, and running the host-bound tests.
- Submission checklist: the Packagist and Marketplace steps.
- Decision log: why the repository is the way it is, with the alternatives that lost.
- The wiki, published from
docs/wiki/when a release is published, and by hand.
Contributions follow CONTRIBUTING.md. The add-on's license is MIT. See LICENSE.