Download the PHP package gksh/bitmask without Composer
On this page you can find all versions of the php package gksh/bitmask. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package bitmask
gksh/bitmask
A simple way to use bitmask and bitwise operations in PHP.
Installation
Requires PHP 8.2+
Usage
Streamline flag handling by encoding boolean options into simple integers through bitmasking.
Please see playground for more.
Features
- Immutable: Operations return new instances, original unchanged
- Enum support: Pass
BackedEnumdirectly — no->valueextraction needed - Size variants:
tiny()(8-bit),small()(16-bit),medium()(24-bit),make()(32-bit default)
Factory Methods
Operations
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Gustavo Karkow
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of bitmask with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
The package gksh/bitmask contains the following files
Loading the files please wait ...