https://github.com/phpbinary/phpbinary
A PHP library to work with binary data.
https://github.com/phpbinary/phpbinary
binary php reader stream writer
Last synced: 14 days ago
JSON representation
A PHP library to work with binary data.
- Host: GitHub
- URL: https://github.com/phpbinary/phpbinary
- Owner: phpbinary
- License: mit
- Created: 2016-11-11T20:03:37.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-14T17:41:13.000Z (about 9 years ago)
- Last Synced: 2025-07-11T20:42:30.128Z (6 months ago)
- Topics: binary, php, reader, stream, writer
- Language: PHP
- Homepage: https://github.com/phpbinary
- Size: 15.6 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# phpbinary
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-travis]][link-travis]
[![Coverage Status][ico-scrutinizer]][link-scrutinizer]
[![Quality Score][ico-code-quality]][link-code-quality]
[![Total Downloads][ico-downloads]][link-downloads]
A PHP library that can be used to work with binary data.
## Install
Via Composer
``` bash
$ composer require phpbinary/phpbinary
```
## Usage
``` php
$stream = new Stream(fopen('awesome.bin', 'rb'));
$value = $stream->readInt16();
```
## Change log
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Testing
``` bash
$ composer test
```
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.
## Security
If you discover any security related issues, please use the issue tracker.
## Credits
- [Walter Tamboer][link-author]
- [All Contributors][link-contributors]
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
[ico-version]: https://img.shields.io/packagist/v/phpbinary/phpbinary.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/phpbinary/phpbinary/master.svg?style=flat-square
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/phpbinary/phpbinary.svg?style=flat-square
[ico-code-quality]: https://img.shields.io/scrutinizer/g/phpbinary/phpbinary.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/phpbinary/phpbinary.svg?style=flat-square
[link-packagist]: https://packagist.org/packages/phpbinary/phpbinary
[link-travis]: https://travis-ci.org/phpbinary/phpbinary
[link-scrutinizer]: https://scrutinizer-ci.com/g/phpbinary/phpbinary/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/phpbinary/phpbinary
[link-downloads]: https://packagist.org/packages/phpbinary/phpbinary
[link-author]: https://github.com/waltertamboer
[link-contributors]: ../../contributors