Ross ROSS = Recommend OSS · open-source software intelligence for agents

nette/php-generator

🐘 Generates neat PHP code for you. Supports new PHP 8.5 features. observed · 2026-08-28

github.com/nette/php-generator · homepage · PHP · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

77/100

  • Activity 92
  • Release rhythm 45
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 100.0
  • age_days: 4556
  • days_rel: 205
  • days_push: 51
  • n_releases_24m: 7

Full methodology

Adoption not part of the score

2259 stars · 145 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A PHP library for programmatically generating PHP code for classes, functions, enums, attributes, and complete files, with support for the latest PHP 8.x features. It can also modify existing classes and produce output compliant with PSR-12/PER coding style.

Use cases

  • generate php classes programmatically
  • create php code from templates or metadata
  • modify existing php classes at build time
  • generate php files for scaffolding tools
  • produce psr-12 compliant php code
  • generate enums and attributes in php 8

When to choose

  • you need to emit valid, modern PHP code from PHP itself
  • you want to manipulate or extend existing PHP classes programmatically
  • you need PSR-12/PER-compliant output and support for the newest PHP syntax

When to avoid

  • you need code generation in a language other than PHP
  • you only need simple string templating without AST-level structure

Facets

library · maturity stable

parser developer-tools developer-tools programming-languages php cli php-code-generation nette psr-12 metaprogramming code-manipulation code-generation automation

7 sources

Member repositories

RepositoryRoleHealth v2
nette/php-generatormain77

For agents

markdown · JSON · MCP: product_card(name="nette/php-generator")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem