vjik / simple-type-caster
Simple library for value type casting
0.4.2
2024-10-31 13:44 UTC
Requires
- php: ^8.1
- yiisoft/strings: ^2.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.62
- maglnet/composer-require-checker: ^4.7
- phpunit/phpunit: ^10.5
- rector/rector: ^1.0
- roave/infection-static-analysis-plugin: ^1.35
- vimeo/psalm: ^5.23
README
Simple library for value type casting.
Installation
The package could be installed with composer:
composer require vjik/simple-type-caster
General usage
Testing
Unit testing
The package is tested with PHPUnit. To run tests:
./vendor/bin/phpunit
Static analysis
The code is statically analyzed with Psalm. To run static analysis:
./vendor/bin/psalm