haeckel / type_wrapper
Simple Library, that provides wrappers around scalar types and arrays. They are inspired by the builtin phpDoc-Types of phpstan, bringing static analysis of phpstan and runtime safety in one.
Installs: 15
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/haeckel/type_wrapper
Requires
- php: ^8.1
Requires (Dev)
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^12.5
- squizlabs/php_codesniffer: ^4.0
README
Haeckel/php-type-wrapper
Simple Library, that provides wrappers around scalar types and arrays. They are inspired by the builtin phpDoc-Types of phpstan, bringing static analysis of phpstan and runtime safety in one.
Installation
Install the package vai composer by running:
composer require haeckel/type_wrapper
Contribute
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Support
Let us know if you have issues.