panlatent / craft-annotations
dev-main
2024-05-23 08:25 UTC
Requires
- php: >=8.0.2
Requires (Dev)
- craftcms/cms: ^4.0|^5.0
- jetbrains/phpstorm-attributes: ^1.0
Suggests
- craftcms/cms: Required to use annotations in Craft CMS.
This package is auto-updated.
Last update: 2024-10-23 09:19:58 UTC
README
Craft Annotations aims to use PHP annotation features to bring a new development experience to CraftCMS and Yii Framework.
Notice: This library is experimental and there will undoubtedly be some performance impact (but probably minimal) from using it, as parsing annotations requires leveraging the reflection API.
Craft Annotations are not intrusive. It uses inheritance to implement functionality. Use it on demand or as a middle layer between your application and Craft/Yii.
Features
- Controller Access Control
Requirements
- PHP 8.0.2 or later.
Installation
Then tell Composer to load the library
composer require panlatent/craft-annotations
Usages
Documentation
License
The Element Messages is open-sourced software licensed under the MIT license.