PHPackages                             arcanisgk/boh-basic-ouput-handler - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. arcanisgk/boh-basic-ouput-handler

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

arcanisgk/boh-basic-ouput-handler
=================================

\[BOH\] is a very simple PHP \[output handler\] implementation that show Human readable information instead of using the default PHP Method

v1.0.5(5y ago)441PHP

Since Feb 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/arcanisgk/BOH-Basic-Output-Handler)[ Packagist](https://packagist.org/packages/arcanisgk/boh-basic-ouput-handler)[ RSS](/packages/arcanisgk-boh-basic-ouput-handler/feed)WikiDiscussions main Synced today

READMEChangelog (6)DependenciesVersions (8)Used By (0)

\[BOH\] Basic Output Handler for PHP
====================================

[](#boh-basic-output-handler-for-php)

[![GitHub license](https://camo.githubusercontent.com/51a2c2b336d5cf1bd6b7ce664a7d7045e386bfa1e4f47f05e55b6ae67da83e0e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f617263616e6973676b2f424f482d42617369632d4f757075742d48616e646c6572)](https://github.com/arcanisgk/BOH-Basic-Ouput-Handler/blob/main/LICENSE)[![State](https://camo.githubusercontent.com/ca18edb0aaa4520cc89a127fc02445b41412091273527b5d6f3e2d1c914ed91d/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d72656c65617365266d6573736167653d76312e302e3526636f6c6f723d626c7565 "Latest known version")](https://github.com/arcanisgk/BOH-Basic-Ouput-Handler/tree/v1.0.5) [![GitHub issues](https://camo.githubusercontent.com/45785c4d2cea4f196d1116137992b372d6b0183b9912bf19062475fcdc0dabcc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f617263616e6973676b2f424f482d42617369632d4f757075742d48616e646c6572)](https://github.com/arcanisgk/BOH-Basic-Ouput-Handler/issues)[![Minimum PHP version](https://camo.githubusercontent.com/3062838f610883d1fb8f692fc8e132c378b22f465035f40adae76906878e2983/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d504850266d6573736167653d372e342e302b6f722b68696768657226636f6c6f723d626c7565 "Minimum PHP version")](https://www.php.net/releases/7_4_0.php)

Acronym: \[BOH\].

Name: Basic Output Handler.

Dependencies: Stand Alone / PHP v7.4.

What does *\[BOH\]* do?
-----------------------

[](#what-does-boh-do)

*\[BOH\]* is a very simple PHP \[output handler\] implementation that show Human readable information instead of using the default PHP options:

- var\_dump() - Displays information about a variable.
- print\_r() - Print human-readable information about a variable.
- debug\_zval\_dump() - Outputs a string representing an internal value of zend.
- var\_export() - Print or return a string representation of a parseable variable.

This means that all the data passed is presented to the developer according to the chosen parameters. It also means that the displayed data can be directly reused as code. Comments are also generated for each value that briefly explains the type of data

Why use *\[BOH\]*?
------------------

[](#why-use-boh)

Developers need the ability to decide how their code behaves when data needs to be checked. The native php Methods provide a range of information that is not reusable by the Developer or may even require more work to get the correct output for data verification.

This library handles data output proven to be extremely effective. *\[BOH\]* is a Standalone implementation that can be used for any project and does not require a third-party library or software.

Help to improve *\[BOH\]*?
--------------------------

[](#help-to-improve-boh)

if you want to collaborate with the development of the library; You can express your ideas or report any situation related to this in:

*\[BOH\]* Configuration:
------------------------

[](#boh-configuration)

None necessary.

*\[BOH\]* Installation:
-----------------------

[](#boh-installation)

```
composer require arcanisgk/boh-basic-ouput-handler
or
composer require arcanisgk/boh-basic-ouput-handler --dev
```

*\[BOH\]* Usage:
----------------

[](#boh-usage)

### Instance of Class

[](#instance-of-class)

```
use \IcarosNet\BOHBasicOuputHandler as Output;
require __DIR__.'\..\vendor\autoload.php';
$output = new Output\Output_Handler();
```

### Customiced colors palette:

[](#customiced-colors-palette)

```
//you can define the theme to be used in the output in web or cli:
$output = new Output\Output_Handler('monokai'); //in the class Instance or
$output->Theme('monokai');                      //call the method Theme
```

### Options for Method:

[](#options-for-method)

```
$output->output($example_array);            // send the variable and library would check the best output for you.
$output->output($example_array,'web');      // or send a second argument for enviroment 'web' or 'cli'.
$output->output($example_array,'web',true); // if you need retrive the string instead of output send true in thirt param.
$output->output($example_array,'cli');      // the library support output for CLI enviroment.
$output->output($example_array,'cli',true); // an cli can retrive strings.
```

Example output:
---------------

[](#example-output)

[![Image of Example Output ](https://camo.githubusercontent.com/dc4770508f52a816e29dc39e6c419adfcde0a88f0bf2e006e979c958a646d40c/68747470733a2f2f692e696d6775722e636f6d2f355751314464342e6a7067)](https://camo.githubusercontent.com/dc4770508f52a816e29dc39e6c419adfcde0a88f0bf2e006e979c958a646d40c/68747470733a2f2f692e696d6775722e636f6d2f355751314464342e6a7067)

Unit Test for output:
---------------------

[](#unit-test-for-output)

Unit test Pending for version v1.1.0

### Contributors

[](#contributors)

- (c) 2020 - 2021 Walter Francisco Núñez Cruz  [![Donate](https://camo.githubusercontent.com/a52580597c15a106bc32b9769f9a7327c177653898360f8052c301029f51a7b7/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d446f6e617465266d6573736167653d50617950616c2e6d652f776e756e657a383626636f6c6f723d627269676874677265656e)](https://www.paypal.me/wnunez86/4.99USD)

### I want to give special credit to the Help, Collaboration and Support of the programmers fron php.net, StackExchange Community and Reddit(/r/PHPhelp/):

[](#i-want-to-give-special-credit-to-the-help-collaboration-and-support-of-the-programmers-fron-phpnet-stackexchange-community-and-redditrphphelp)

- Mr\_What4 (Reddit)
- CyberJack77 (Reddit)
- requinix (PHP.net)
- patricio-moracho (SOes)
- quevedo (SOes)
- mauricio-contreras (SOes)
- gbianchi (SOes)
- Triby (SOes)
- Marcos (SOes)
- anythingg (SOes)
- mdfst13 (CodeReview SE)
- Sᴀᴍ Onᴇᴌᴀ (CodeReview SE)
- mast (CodeReview SE)
- der-kommissar (CodeReview SE)
- peilonrayz (CodeReview SE)

### Those who have supported me in this project in an invaluable way, Greetings Guys.

[](#those-who-have-supported-me-in-this-project-in-an-invaluable-way-greetings-guys)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

1952d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f826ead58519f4ed93071a8c7264620cfcb687bca24ec0a0fb2da936bf88d9e1?d=identicon)[ArcanisGK](/maintainers/ArcanisGK)

---

Top Contributors

[![wnunezc](https://avatars.githubusercontent.com/u/1207306?v=4)](https://github.com/wnunezc "wnunezc (27 commits)")

### Embed Badge

![Health badge](/badges/arcanisgk-boh-basic-ouput-handler/health.svg)

```
[![Health](https://phpackages.com/badges/arcanisgk-boh-basic-ouput-handler/health.svg)](https://phpackages.com/packages/arcanisgk-boh-basic-ouput-handler)
```

###  Alternatives

[tharos/schematic

61142.4k4](/packages/tharos-schematic)[mad-web/laravel-robots

Robots.txt generator service.

33126.9k](/packages/mad-web-laravel-robots)[mateffy/laravel-codebase-mcp

An MCP server to give Cursor, Aider, etc. the ability to introspect your Laravel codebase directly, by querying for your models, views, routes and classes without raw file search.

221.6k](/packages/mateffy-laravel-codebase-mcp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
