PHPackages                             yetii/phpfile - 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. yetii/phpfile

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

yetii/phpfile
=============

Creates Basic PHP Files based on a schematic

0.4.0(7y ago)1202[1 PRs](https://github.com/UnDeAdYeTii/phpfile/pulls)MITPHP

Since Sep 26Pushed 6y agoCompare

[ Source](https://github.com/UnDeAdYeTii/phpfile)[ Packagist](https://packagist.org/packages/yetii/phpfile)[ RSS](/packages/yetii-phpfile/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

phpfile (DISCONTINUED - NO LONGER MAINTAINED)
=============================================

[](#phpfile-discontinued---no-longer-maintained)

This is a basic PHP File Generator library where you supply a schematic (json file or array) and it can produce a PHP files.

Customise
---------

[](#customise)

- Namespaces
- Uses
    - Aliases
- Class
    - Types
    - Names
    - Extends
    - Implements
    - Uses
    - Properties
        - Visibility
        - Defaults
    - Methods
        - Visibility
        - Args
            - Typehints
            - Defaults
            - References

Usage
-----

[](#usage)

```
$schema = new \YeTii\PhpFile\Schematic();

$schema->read('schematic.json')->out('output.php');
// or
$data = [ /* schematic rules */ ];
$schema->read($data)->out('output.php');
```

Features
--------

[](#features)

- Indenting + Indenting Control
- More (fucking look yourself)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~69 days

Total

4

Last Release

2625d ago

### Community

Maintainers

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

---

Top Contributors

[![bradietilley](https://avatars.githubusercontent.com/u/44430471?v=4)](https://github.com/bradietilley "bradietilley (11 commits)")[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (9 commits)")[![ScribeOfGoD](https://avatars.githubusercontent.com/u/17910855?v=4)](https://github.com/ScribeOfGoD "ScribeOfGoD (2 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/yetii-phpfile/health.svg)

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

PHPackages © 2026

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