PHPackages                             mracine/php-binary-string - 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. mracine/php-binary-string

ActiveLibrary

mracine/php-binary-string
=========================

Library to manipulate binary strings

v0.2(2y ago)0117MITPHPPHP ^7.0|^8.0

Since Mar 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/matracine/php-binary-string)[ Packagist](https://packagist.org/packages/mracine/php-binary-string)[ RSS](/packages/mracine-php-binary-string/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (4)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/d4475dc4fbc22fb135d6eb50afa4fa224507db503bc5e0e911988da98d37c10e/68747470733a2f2f706f7365722e707567782e6f72672f6d726163696e652f7068702d62696e6172792d737472696e672f762f737461626c65)](https://packagist.org/packages/mracine/php-binary-string)[![PHP 7 ready](https://camo.githubusercontent.com/9f590c95ca2e58dc5ee6ac08e58290b038ae3f906aeb5eff9817822e3d2a8372/68747470733a2f2f7068703772656164792e74696d6573706c696e7465722e63682f6d6174726163696e652f7068702d62696e6172792d737472696e672f6d61737465722f62616467652e737667)](https://travis-ci.org/matracine/php-binary-string)[![License](https://camo.githubusercontent.com/6227367e9d0f0a76f200b299c1fde4b9990c4542a8a50d51cae8dea92637d7c2/68747470733a2f2f706f7365722e707567782e6f72672f6d726163696e652f7068702d62696e6172792d737472696e672f6c6963656e7365)](https://packagist.org/packages/mracine/php-binary-string)[![Travis Build Status](https://camo.githubusercontent.com/e99b8c9bd88c1d3ca0627fc3e76bc6601fc9c1449a3cb738ffec7fcf67286fd6/68747470733a2f2f7472617669732d63692e6f72672f6d6174726163696e652f7068702d62696e6172792d737472696e672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/matracine/php-binary-string)[![Scrutinizer Build Status](https://camo.githubusercontent.com/b9335f8565d35853dcb5043e903607546ce1de5ed73e514848a4894b162df7a1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6174726163696e652f7068702d62696e6172792d737472696e672f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/matracine/php-binary-string/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f319f0ea279306703def6e593fa9288c8576741755e5666b08bd6e958cb46d6e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6174726163696e652f7068702d62696e6172792d737472696e672f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/matracine/php-binary-string/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/55ce3f4f897d5c2003f977c126bd7767f1ba311244d6c9f48613590241e3822f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6174726163696e652f7068702d62696e6172792d737472696e672f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/matracine/php-binary-string/?branch=master)[![Code Intelligence Status](https://camo.githubusercontent.com/3a9fd63bef0000f61bca2303f4e48b307b43e63076fcd0dfd42bb908513b9e8a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6174726163696e652f7068702d62696e6172792d737472696e672f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![Maintainability](https://camo.githubusercontent.com/06c88544e4d37dc68b7c36a52ab695975967a702a36f7ad32e1b4bd9590b3160/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63353133393235373034336366643439393963392f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/matracine/php-binary-string/maintainability)

PHP BINARY STRING HELPER
========================

[](#php-binary-string-helper)

**mracine\\Helpers\\BinaryStringHelper** is a library that provide tools to manipulate binary strings with PHP.

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

[](#installation)

You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):

```
composer require mracine/php-binary-string

```

Usage
-----

[](#usage)

The mracine\\Helpers\\BinaryStringHelper is a class that provide one method :

- IntegerToNBOBinaryString static method : takes one integer parameter and returns a Network byte ordered trimed string

```
