karkowg/bit-flag

This package is abandoned and no longer maintained. The author suggests using the gksh/bitmask package instead.

Minimal BitFlag value object for PHP

Fund package maintenance!
karkowg

v1.1.1 2022-04-25 21:28 UTC

This package is auto-updated.

Last update: 2024-05-03 19:39:58 UTC


README

BitFlag code snippet

PHP BitFlag

Latest Version on Packagist GitHub Tests Action Status License Total Downloads

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.