PHPackages                             cgcapps/pretty-print - 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. cgcapps/pretty-print

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

cgcapps/pretty-print
====================

a var dumper with style

00PHP

Since Sep 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/cjguajardo/PrettyPrint)[ Packagist](https://packagist.org/packages/cgcapps/pretty-print)[ RSS](/packages/cgcapps-pretty-print/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

README
------

[](#readme)

This project includes a PHP class named `PrettyPrint` that can be used to print data in a visually appealing way. The class has the following methods:

- `print()`: Prints the data in a visually appealing way.
- `printAndDie()`: Prints the data in a visually appealing way and terminates the script.

To use the `PrettyPrint` class, you can create an instance of the class and call the `print()` or `printAndDie()` method with the data you want to print. The class will format the data and print it in a visually appealing way.

### Dependencies

[](#dependencies)

This project does not have any external dependencies.

### Installation

[](#installation)

You can install this project via Composer by adding the following to your `composer.json` file:

```
{
  "require": {
    "cgcapps/pretty-print": "^1.0"
  }
}
```

Then run `composer install`.

### Usage

[](#usage)

To use the `PrettyPrint` class, you can create an instance of the class and call the `print()` or `printAndDie()` method with the data you want to print. For example:

```
use CGCApps\PrettyPrint;

$pp = new PrettyPrint();
$pp->print($data);
// or
$pp->printAndDie($data);
```

This will print the data in a visually appealing way.

### License

[](#license)

This project is licensed under the MIT License. Please see the `LICENSE` file for more information.

README
------

[](#readme-1)

This project includes a PHP class named `PrettyPrint` that can be used to print data in a visually appealing way. The class has the following methods:

- `print()`: Prints the data in a visually appealing way.
- `printAndDie()`: Prints the data in a visually appealing way and terminates the script.

To use the `PrettyPrint` class, you can create an instance of the class and call the `print()` or `printAndDie()` method with the data you want to print. The class will format the data and print it in a visually appealing way.

### Dependencies

[](#dependencies-1)

This project does not have any external dependencies.

### Installation

[](#installation-1)

You can install this project via Composer by adding the following to your `composer.json` file:

```
{
  "require": {
    "cgcapps/pretty-print": "^1.0"
  }
}
```

Then run `composer install`.

### Usage

[](#usage-1)

To use the `PrettyPrint` class, you can create an instance of the class and call the `print()` or `printAndDie()` method with the data you want to print. For example:

```
use CGCApps\PrettyPrint;

$pp = new PrettyPrint();
$pp->print($data);
```

This will print the data in a visually appealing way.

[![App Screenshot](https://github.com/cjguajardo/PrettyPrint/raw/main/assets/pretty-print.gif)](https://github.com/cjguajardo/PrettyPrint/blob/main/assets/pretty-print.gif)[![App Screenshot](https://github.com/cjguajardo/PrettyPrint/raw/main/assets/pretty-print.png)](https://github.com/cjguajardo/PrettyPrint/blob/main/assets/pretty-print.png)

### License

[](#license-1)

This project is licensed under the MIT License. Please see the `LICENSE` file for more information.

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/112db634cc89a39e618f89f697071cfef0f73ae968bb85e17d66aeb1b30a3fc7?d=identicon)[cjguajardo](/maintainers/cjguajardo)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/cgcapps-pretty-print/health.svg)

```
[![Health](https://phpackages.com/badges/cgcapps-pretty-print/health.svg)](https://phpackages.com/packages/cgcapps-pretty-print)
```

###  Alternatives

[robinherbots/jquery.inputmask

Inputmask is a javascript library which creates an input mask. Inputmask can run against vanilla javascript, jQuery and jqlite.

6.5k276.6k4](/packages/robinherbots-jqueryinputmask)[webman/captcha

Captcha generator

1484.2k25](/packages/webman-captcha)

PHPackages © 2026

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