PHPackages                             kfriars/php-array-to-file - 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. kfriars/php-array-to-file

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

kfriars/php-array-to-file
=========================

Convert a php array into a .php file that can be included

1.1.2(5y ago)44.7k1MITPHP ^7.2

Since Aug 10Compare

[ Source](https://github.com/kfriars/php-array-to-file)[ Packagist](https://packagist.org/packages/kfriars/php-array-to-file)[ Docs](https://github.com/spatie/php-array-to-file)[ RSS](/packages/kfriars-php-array-to-file/feed)WikiDiscussions Synced 1mo ago

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/kfriars/php-array-to-file).

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Total

4

Last Release

2090d ago

PHP version history (2 changes)1.0.0PHP ^7.4

1.1.2PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/71a21166080f379b839b673c0f1f9227c53a756c2c461069f5e03ae212dfdce0?d=identicon)[kfriars](/maintainers/kfriars)

---

Top Contributors

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

---

Tags

kfriarsphp-array-to-file

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kfriars-php-array-to-file/health.svg)

```
[![Health](https://phpackages.com/badges/kfriars-php-array-to-file/health.svg)](https://phpackages.com/packages/kfriars-php-array-to-file)
```

PHPackages © 2026

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