daun / statamic-utils
A collection of utilities for use in Statamic projects
1.0.0
2024-12-15 13:00 UTC
Requires
- php: ^8.1
- laravel/framework: ^10.0 || ^11.0
- statamic/cms: ^5.0
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.14
- mockery/mockery: ^1.6
- orchestra/testbench: ^9.5
- pestphp/pest: ^3.5
- pestphp/pest-plugin-laravel: ^3.0
README
A collection of utilities I use in Statamic projects.
Installation
Install the package via composer:
composer require daun/statamic-utils
Utilities
Control Panel
Translations
Ensure the existence of customized Create Entry
buttons for all data types. Trows an exception if
a collection or taxonomy is missing the required translation key.
\Daun\StatamicUtils\ControlPanel\Translations::ensureCreateButtonLabels();