PHPackages                             zbyrih/generator - 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. zbyrih/generator

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

zbyrih/generator
================

php generator helper

v0.1.3(1y ago)06MITPHPPHP &gt;=8.0

Since Oct 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ZbyRih/generator)[ Packagist](https://packagist.org/packages/zbyrih/generator)[ RSS](/packages/zbyrih-generator/feed)WikiDiscussions master Synced 1mo ago

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

Generator [![PHP version](https://camo.githubusercontent.com/55982edc1d76df3fbc2148daf9e85a16f3847a5b6225c2132883f2a13b086cc8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e302d626c7565)](https://img.shields.io/badge/PHP-8.0-blue) [![MIT License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](https://img.shields.io/badge/license-MIT-green)
================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#generator--)

Introduction
------------

[](#introduction)

This tool should help with simple repetitive generation of php files.

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

[](#installation)

The recommended way to install this helper is through Composer:

`composer global require zbyrih/generator --dev`

Usage
-----

[](#usage)

first you have to create config file generator.neon in you current working directory:

```
parameters:
  command: # section named command
    baseFolder: App/Commands
    baseNamespace: App\Commands
    files:
      'command{name}.php': generator/command/command.txt # output file : source file
      request.php: generator/command/request.txt
      commandFactory.php: generator/command/commandFactory.txt
```

then run command `generator command Some/Save` that generates files:

App/Commands/Some/CommandSave.php App/Commands/Some/SaveRequest.php App/Commands/Some/SaveCommandFactory.php

where it will be replaced in the content, `{#$part0#}` with `Some` and `{#$part1#}` with `Save`. If the second parameter is longer, for example: `Some/Some/Save`, `{#$part0#}`will be `Some\Some` and `{#$part1#}` will be still `Save`.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance46

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Total

4

Last Release

413d ago

### Community

Maintainers

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

---

Top Contributors

[![ZbyRih](https://avatars.githubusercontent.com/u/19243871?v=4)](https://github.com/ZbyRih "ZbyRih (2 commits)")

### Embed Badge

![Health badge](/badges/zbyrih-generator/health.svg)

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

###  Alternatives

[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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