arnapou / reflection
Project - Tooling around php reflection.
v1.0.2
2025-05-26 15:45 UTC
Requires
- php: ~8.2.0 || ~8.3.0 || ~8.4.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: ^11.0
- phpunit/phpunit: ^11.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.4 | 8.3 | 8.2 |
---|---|---|---|---|
24/11/2024 | 1.0.x, main | × | × | × |