PHPackages                             lukasruzicka/decal - 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. lukasruzicka/decal

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

lukasruzicka/decal
==================

Turns PHP array to its PHP code interpretation.

1.0(6y ago)036[1 PRs](https://github.com/lukasruzicka/Decal/pulls)MITPHPCI passing

Since Oct 23Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/lukasruzicka/Decal)[ Packagist](https://packagist.org/packages/lukasruzicka/decal)[ RSS](/packages/lukasruzicka-decal/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (4)Used By (0)

Decal
=====

[](#decal)

A simple script that allows you to turn the existing PHP array to its PHP code interpretation, which might be useful when creating mock data and so on.

```
# CODE
$array = ['a' => ['b' => 1, 'c' => ['d']], 'b' => [0, '0', null]];

Decal::print($array);
```

```
# OUTPUT
$decal = [
    'a' => [
        'b' => 1,
        'c' => [
            'd'
        ]
    ],
    'b' => [
        0,
        '0',
        null
    ]
];

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance54

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Unknown

Total

1

Last Release

2391d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/lukasruzicka-decal/health.svg)

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

###  Alternatives

[ramsey/devtools

A Composer plugin to aid PHP library and application development.

7134.7k26](/packages/ramsey-devtools)[jimbojsb/workman

PHP process forking &amp; daemonizing library

608.8k](/packages/jimbojsb-workman)

PHPackages © 2026

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