PHPackages                             dolondro/thegrid - 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. dolondro/thegrid

ActiveLibrary

dolondro/thegrid
================

1.0.0(10y ago)0181PHP

Since Feb 20Pushed 10y agoCompare

[ Source](https://github.com/Dolondro/thegrid)[ Packagist](https://packagist.org/packages/dolondro/thegrid)[ RSS](/packages/dolondro-thegrid/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

thegrid
=======

[](#thegrid)

Abstraction for creating a grid of content in a terminal window

Ever wanted to create say, a game of chess in PHP in the terminal, but couldn't be bothered to make a grid? No? I thought not.

If you did decide you wanted to do such a thing, this project might be helpful to you. It uses all the assorted box character unicode stuff to generate a half reasonable grid.

```
// Usage is something like this
$gridRenderer = \Dolondro\TheGrid\GridRenderer::create();
$gridRenderer->render([[
  "Cell1"
]]);

```

There's a half baked example which gives you a decent idea of how to use it in examples/test.php and if you need guidance and here's a copied comment that explains what the format of a cell should look like:

```
// Create expects a multi-dimensional array. Each "cell" in the array should either be:
// 1. null    (will result in nothing being rendered)
// 2. a value (like the number 5 or what have you)
// 3. an array like so: [$value, $colour]. Colour should be in ansi style format (like "\033[31m").
//    a comprehensive list of them can be accessed directly from Color::COLOR_BLAH

```

Good luck have have fun!

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3782d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/75589934?v=4)[Dolondro](/maintainers/Dolondro)[@Dolondro](https://github.com/Dolondro)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/dolondro-thegrid/health.svg)

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

PHPackages © 2026

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