PHPackages                             terremoth/php-box-designer - 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. terremoth/php-box-designer

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

terremoth/php-box-designer
==========================

Library that draws boxes using chars

v1.1.2(2y ago)832[8 issues](https://github.com/terremoth/php-box-designer/issues)[3 PRs](https://github.com/terremoth/php-box-designer/pulls)GPL-3.0-or-laterPHPPHP ^8.1CI passing

Since Feb 22Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/terremoth/php-box-designer)[ Packagist](https://packagist.org/packages/terremoth/php-box-designer)[ RSS](/packages/terremoth-php-box-designer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (7)Used By (0)

PHP Box Designer
================

[](#php-box-designer)

Boxes. There are Boxes. Everywhere.

Simple app that draws boxes using chars with or without text content inside.
This repo main idea is to demonstrate the highest state of the art a PHP repo can be.

[![codecov](https://camo.githubusercontent.com/7ec05bd7a23b646e01b337033fd9f88e8f106f5f1b58ae76e189178def0863d1/68747470733a2f2f636f6465636f762e696f2f67682f74657272656d6f74682f7068702d626f782d64657369676e65722f67726170682f62616467652e7376673f746f6b656e3d56373355363758524233)](https://codecov.io/gh/terremoth/php-box-designer)[![Test Coverage](https://camo.githubusercontent.com/4d42493cb78bbf6f4b200d37535eeb171e6d7e0b0e79660cdd5b5b83950a52d5/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f30623030343665333730343936663538666136652f746573745f636f766572616765)](https://codeclimate.com/github/terremoth/php-box-designer/test_coverage)[![Psalm type coverage](https://camo.githubusercontent.com/13efe6b8896c922f30440b6ebdfde98c73a1ad9575244a5297ebcb3f98ff85cf/68747470733a2f2f73686570686572642e6465762f6769746875622f74657272656d6f74682f7068702d626f782d64657369676e65722f636f7665726167652e737667)](https://shepherd.dev/github/terremoth/php-box-designer)[![Psalm level](https://camo.githubusercontent.com/4adf1a10aabe824e96124eb0712afc30f7c6a0ec9803232a0d21ff72e0610764/68747470733a2f2f73686570686572642e6465762f6769746875622f74657272656d6f74682f7068702d626f782d64657369676e65722f6c6576656c2e737667)](https://shepherd.dev/github/terremoth/php-box-designer)[![Test Run Status](https://github.com/terremoth/php-box-designer/actions/workflows/workflow.yml/badge.svg?branch=main)](https://github.com/terremoth/php-box-designer/actions/workflows/workflow.yml)[![Codacy Badge](https://camo.githubusercontent.com/0f27eeab69011c3739da368eedd64d462e4b9df61785c3a4dc6f70301035a5df/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6637376534383762613232393433623562313939613235363766343464366166)](https://app.codacy.com/gh/terremoth/php-box-designer/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)[![Maintainability](https://camo.githubusercontent.com/968df6fb1238ea6f7fe83bd6c3428de919b3cf6fe4dcbc4d57c5b3979ae0cca6/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f30623030343665333730343936663538666136652f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/terremoth/php-box-designer/maintainability)[![OpenSSF Scorecard](https://camo.githubusercontent.com/2404bc3de331d5a1aa1a4129365d6ecaf3b0cca9c88523740df5d71e15c2e459/68747470733a2f2f6170692e73636f7265636172642e6465762f70726f6a656374732f6769746875622e636f6d2f74657272656d6f74682f7068702d626f782d64657369676e65722f6261646765)](https://scorecard.dev/viewer/?uri=github.com/terremoth/php-box-designer)[![License](https://camo.githubusercontent.com/7c3448c44b69efcf23e604b38b1c284d1b94de27c74135a21e1f8ea08971838e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f74657272656d6f74682f7068702d626f782d64657369676e65722e7376673f6c6f676f3d676e7526636f6c6f723d343162623133)](https://github.com/terremoth/php-box-designer/blob/main/LICENSE)

See [demos/drawing.php](demos/drawing.php) for examples.

Installation
------------

[](#installation)

```
composer require terremoth/php-box-designer
```

---

### What it looks like?

[](#what-it-looks-like)

[![image](https://private-user-images.githubusercontent.com/11032344/385560730-30b5e651-19bc-46d9-ae2f-422d61470ca1.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU1OTY0NzAsIm5iZiI6MTc3NTU5NjE3MCwicGF0aCI6Ii8xMTAzMjM0NC8zODU1NjA3MzAtMzBiNWU2NTEtMTliYy00NmQ5LWFlMmYtNDIyZDYxNDcwY2ExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA3VDIxMDkzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc5OGIyNDJhN2ExZDI3ZDQwM2I0ZDU3MDY5NDMwNGU3ODExYWUyNTgzMzEwNTQ4YWY0NWZhN2E2ZWMxYTUzNDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.oV6ijP68e4cBAX8GNQM99FJiJzbS4cKJhsjxWldM5x8)](https://private-user-images.githubusercontent.com/11032344/385560730-30b5e651-19bc-46d9-ae2f-422d61470ca1.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU1OTY0NzAsIm5iZiI6MTc3NTU5NjE3MCwicGF0aCI6Ii8xMTAzMjM0NC8zODU1NjA3MzAtMzBiNWU2NTEtMTliYy00NmQ5LWFlMmYtNDIyZDYxNDcwY2ExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA3VDIxMDkzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc5OGIyNDJhN2ExZDI3ZDQwM2I0ZDU3MDY5NDMwNGU3ODExYWUyNTgzMzEwNTQ4YWY0NWZhN2E2ZWMxYTUzNDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.oV6ijP68e4cBAX8GNQM99FJiJzbS4cKJhsjxWldM5x8)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

807d ago

PHP version history (2 changes)v1.0.0PHP ^8.2

v1.1.2PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

ascii-artboxboxescharacter-artrectanglerectanglesterminal-artutf-8-leetcodeunicodelibraryasciidesignansiboxesdrawrectanglessquares

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/terremoth-php-box-designer/health.svg)

```
[![Health](https://phpackages.com/badges/terremoth-php-box-designer/health.svg)](https://phpackages.com/packages/terremoth-php-box-designer)
```

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[jbroadway/urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

6737.4M62](/packages/jbroadway-urlify)[voku/portable-ascii

Portable ASCII library - performance optimized (ascii) string functions for php.

574401.5M117](/packages/voku-portable-ascii)[ausi/slug-generator

Slug Generator

8002.2M22](/packages/ausi-slug-generator)[league/iso3166

ISO 3166-1 PHP Library

69536.3M116](/packages/league-iso3166)[dekor/php-array-table

PHP Library for printing associative arrays as text table (similar to mysql terminal console)

296.6M2](/packages/dekor-php-array-table)

PHPackages © 2026

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