PHPackages                             rousi/bitery - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. rousi/bitery

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rousi/bitery
============

Bit Management Library

1.0.0-beta(1y ago)00MITPHPPHP &gt;=8.0

Since Sep 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rousime/bitery)[ Packagist](https://packagist.org/packages/rousi/bitery)[ RSS](/packages/rousi-bitery/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Bitery - Bit Management Library
===============================

[](#bitery---bit-management-library)

Bitery is a library that allows you to work with bits at a higher level, as well as organize the storage of information in bits.

Installation
------------

[](#installation)

You can install this library via [Composer](https://github.com/composer/composer). It is enough to execute the following command in your working directory:

```
composer require rousi/bitery
```

Usage
-----

[](#usage)

### Bit Manager Usage

[](#bit-manager-usage)

The `Bitery\BitManager` class is used to change certain bits or a range of bits in a string.

```
