PHPackages                             redrat/presenthor - 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. redrat/presenthor

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

redrat/presenthor
=================

The crazy presenter pattern library

0.2.0(6y ago)142[1 PRs](https://github.com/joubertredrat/presenthor/pulls)MITPHPPHP &gt;=7.2CI failing

Since Oct 11Pushed 3mo agoCompare

[ Source](https://github.com/joubertredrat/presenthor)[ Packagist](https://packagist.org/packages/redrat/presenthor)[ RSS](/packages/redrat-presenthor/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

Presenthor
==========

[](#presenthor)

[![Build Status](https://camo.githubusercontent.com/2554b1561d1f8ff5a999ba0dc79f58effa5892c536accaca3dd5f8a7e0543827/68747470733a2f2f7472617669732d63692e6f72672f6a6f75626572747265647261742f70726573656e74686f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/joubertredrat/presenthor)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c75d361c48b056434b0dba4f7c3b0398ed8887299c674a833d4eb2bab03c7b92/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f75626572747265647261742f70726573656e74686f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/joubertredrat/presenthor/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/80e8e6707f76040fbd21ea04ba45f17d2e1b0983dc04994829446956f65e662d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f75626572747265647261742f70726573656e74686f722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/joubertredrat/presenthor/?branch=master)[![Build Status](https://camo.githubusercontent.com/4bf3be0046d3b5af0907627f7b944229e784cc1e2172ff2f44adfc3c7ba1317f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f75626572747265647261742f70726573656e74686f722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/joubertredrat/presenthor/build-status/master)[![Latest Stable Version](https://camo.githubusercontent.com/d223bbdd0506e4ff7419a6b298119c03275bd8bd8e72c71c6b10d789d37abc77/68747470733a2f2f706f7365722e707567782e6f72672f7265647261742f70726573656e74686f722f762f737461626c65)](https://packagist.org/packages/redrat/presenthor)[![Total Downloads](https://camo.githubusercontent.com/f2cbf1ffd59be3ca0e15265856c8ed7b104e03064c852bd2f4f9f2ca09e9ef05/68747470733a2f2f706f7365722e707567782e6f72672f7265647261742f70726573656e74686f722f646f776e6c6f616473)](https://packagist.org/packages/redrat/presenthor)[![License](https://camo.githubusercontent.com/1e2607dcfb9a63d3a98d1c3eccee44a5f162a16e86a9b210e925d504d52e6cb5/68747470733a2f2f706f7365722e707567782e6f72672f7265647261742f70726573656e74686f722f6c6963656e7365)](https://packagist.org/packages/redrat/presenthor)

The crazy presenter pattern library

#### First question, why?

[](#first-question-why)

Because I'm a polemic person and I don't like serializes. Serialize is good? Yes, but for me, in many times is a big solution to solve a little problem.

#### Okay, how to install then?

[](#okay-how-to-install-then)

Easy my friend, install from composer

```
composer require redrat/presenthor
```

#### How to use?

[](#how-to-use)

This library is separated in two parts, an `Item` and `Bag`. All parts implements `OutputInterface`, then output `array` or json in string.

##### Item

[](#item)

An `Item` basically contains a data that will output `array` or `json` and you should to implement in your project based on `ItemInterface` or `ItemInjectableInterface`.

##### Bag

[](#bag)

A `Bag` is a collection of `ItemInterface` and you can implement yours based on `ItemBagInterface` or use `ItemBag` implemented in this library.

#### Example

[](#example)

You can view an implementation example in .

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance54

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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 ~3 days

Total

2

Last Release

2405d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

crazy-thingsdesign-patterndesign-patternsphpphp-libphp-libraryphp7presenterphppresenterdesign pattern

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/redrat-presenthor/health.svg)

```
[![Health](https://phpackages.com/badges/redrat-presenthor/health.svg)](https://phpackages.com/packages/redrat-presenthor)
```

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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