cline/attribute-reader
A clean API for working with PHP attributes
Maintainers
3.0.2
2026-03-18 16:45 UTC
Requires
- php: ^8.5.0
Requires (Dev)
- cline/coding-standard: ^2.0.1
- orchestra/testbench: ^10.9
- symfony/var-dumper: ^7.4.6 || ^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
👁 GitHub Workflow Status
👁 Latest Version on Packagist
👁 Software License
👁 Total Downloads
attribute-reader
A clean API for working with PHP attributes
Requirements
Requires PHP 8.4+
Installation
composer require cline/attribute-reader
Usage
use Cline\AttributeReader\Attributes; #[Route('/users')] class UserController {} $route = Attributes::get(UserController::class, Route::class); Attributes::has(UserController::class, Route::class); // true
Detailed docs:
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
Credits
License
The MIT License. Please see License File for more information.
