Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

karkowg/bit-flag

Repository files navigation

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.