arnapou / reflection
Project - Tooling around php reflection.
Installs: 207
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
Type:project
pkg:composer/arnapou/reflection
Requires
- php: ~8.3.0 || ~8.4.0 || ~8.5.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.52
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^2.0
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/php-code-coverage: ^12.0
- phpunit/phpunit: ^12.0
README
This library contains opinionated tools around PHP reflection.
Installation
composer require arnapou/reflection
packagist 👉️ arnapou/reflection
Features
This lib is an opinionated and strictly typed way of using reflection in PHP.
It is mainly used by some of arnapou/* packages who need to
- have a strict parameters type checks
- create objects or run callables dynamically based on dependency arguments
Php versions
| Date | Ref | 8.5 | 8.4 | 8.3 | 8.2 |
|---|---|---|---|---|---|
| 25/10/2025 | 1.1.x, main | × | × | × | |
| 24/11/2024 | 1.0.x | × | × | × |