https://github.com/thefox/utilities
Collection of useful PHP utilities.
https://github.com/thefox/utilities
binary debug encoding hex leb128 mit-license php php-library utilities
Last synced: about 1 year ago
JSON representation
Collection of useful PHP utilities.
- Host: GitHub
- URL: https://github.com/thefox/utilities
- Owner: TheFox
- License: mit
- Created: 2014-04-30T21:38:49.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-03-23T19:55:53.000Z (over 6 years ago)
- Last Synced: 2025-05-30T18:02:50.322Z (about 1 year ago)
- Topics: binary, debug, encoding, hex, leb128, mit-license, php, php-library, utilities
- Language: PHP
- Homepage: https://fox21.at
- Size: 90.8 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG-v1.md
- License: LICENSE
Awesome Lists containing this project
README
# Utilities
Collection of useful PHP utilities.
## Project Outlines
The project outlines as described in my blog post about [Open Source Software Collaboration](https://blog.fox21.at/2019/02/21/open-source-software-collaboration.html).
- The main purpose of this collection is to provide common single functions or classes, which are too small for a separate project.
- This list is open. Feel free to request features.
## Features
- PHP 7 compatible.
- [Hexadecimal](https://en.wikipedia.org/wiki/Hexadecimal) encoding.
- [LEB128](https://en.wikipedia.org/wiki/LEB128) encoding.
- Debug [binary](https://en.wikipedia.org/wiki/Binary_number) data.
- Generate random data using [mt_rand()](http://php.net/manual/en/function.mt-rand.php).
- Big/Little endian converter.
## Installation
The preferred method of installation is via [Packagist](https://packagist.org/packages/thefox/utilities) and [Composer](https://getcomposer.org/). Run the following command to install the package and add it as a requirement to composer.json:
```bash
composer require thefox/utilities
```
## Links
- [Packagist Package](https://packagist.org/packages/thefox/utilities)
- [PHPWeekly - Issue October 16, 2014](http://www.phpweekly.com/archive/2014-10-16.html)