jordanbrauer/un-stow (packagist): Offers a nice & powerful OOP and/or FP interface for PHP's `pack` and `unpack` functions.
Keywords: binary|dependency-less|functional|library|micro|modern|object-oriented|php