karkowg / bit-flag
Minimal BitFlag value object for PHP
Fund package maintenance!
karkowg
Requires
- php: ^7.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^v3.8.0
- pestphp/pest: ^v1.21.2
- phpstan/phpstan: ^1.5.7
- symfony/var-dumper: ^5.2.0
README
PHP BitFlag
This package provides a minimal BitFlag value object class for PHP.
Requires PHP 7.4
⚡️ Installation
composer require karkowg/bit-flag
🧹 Keep a modern codebase with PHP CS Fixer:
composer lint
⚗️ Run static analysis using PHPStan:
composer test:types
✅ Run unit tests using PEST
composer test:unit
🚀 Run the entire test suite:
composer test
Package was created using Skeleton PHP by Nuno Maduro under the MIT license.