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.
- Controller Access Control
- PHP 8.0.2 or later.
Then tell Composer to load the library
composer require panlatent/craft-annotations
The Element Messages is open-sourced software licensed under the MIT license.