PHPackages                             kba-team/byte-debug - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. kba-team/byte-debug

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

kba-team/byte-debug
===================

A simple class for debugging bytes by converting them to a printable string.

v2.0.1(1mo ago)01.9kMITPHPPHP &gt;=7.4, &lt;8.4

Since Oct 9Pushed 2y ago2 watchersCompare

[ Source](https://github.com/the-kbA-team/ByteDebug)[ Packagist](https://packagist.org/packages/kba-team/byte-debug)[ RSS](/packages/kba-team-byte-debug/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (6)Used By (0)

ByteDebug
=========

[](#bytedebug)

[![License: MIT](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![Build Status](https://camo.githubusercontent.com/8122eda918db9dc50f9fc44abf028b581f9eed77c0d0c904cc5f92a67d060958/68747470733a2f2f7472617669732d63692e6f72672f7468652d6b62412d7465616d2f4279746544656275672e7376673f6272616e63683d6d61696e)](https://travis-ci.org/the-kbA-team/ByteDebug)[![Maintainability](https://camo.githubusercontent.com/593d36e4e71aeb0213841e122cc3d9d156417414dffe519c9ff2879c1f201923/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63376338653061623862313032383931343366382f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/the-kbA-team/ByteDebug/maintainability)[![Test Coverage](https://camo.githubusercontent.com/91d8efd5274e6e47f40df3d0da9482c38eef07fe699afe03ed993719262a42ff/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63376338653061623862313032383931343366382f746573745f636f766572616765)](https://codeclimate.com/github/the-kbA-team/ByteDebug/test_coverage)

A simple class for debugging bytes by converting them to a printable string.

This is useful for all kinds of debugging, in case you receive strings containig all sorts of non-printable characters mixed into printable ones.

Usage
-----

[](#usage)

Add the package to your repository:

`composer require kba-team/byte-debug`

Use:

```
