vjik / simple-type-caster
Simple library for value type casting
0.4.5
2025-04-08 14:54 UTC
Requires
- php: 8.1 - 8.4
- yiisoft/strings: ^2.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.75
- maglnet/composer-require-checker: ^4.7.1
- phpunit/phpunit: ^10.5.45
- rector/rector: ^1.2.10
- roave/infection-static-analysis-plugin: ^1.35
- vimeo/psalm: ^5.26.1 || ^6.10
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