Back to directory

laminas-code

A PHP library that extends the PHP Reflection API with static code scanning and an object-oriented code generator for creating and updating PHP source, extensible to other output formats.

laminas-code

laminas-code's Generator component provides an object-oriented interface for generating arbitrary code, both to create new code and to update existing code. Although its included implementation targets PHP, the base classes can be extended to generate other kinds of text, such as JavaScript, configuration files or Apache vhosts.

Alongside code generation, the package extends the PHP Reflection API and adds static code scanning capabilities.

It is part of the Laminas project, distributed under the BSD-3-Clause license.

More in Code quality

See all 94
  • Critic

    critic.run

    A code-change viewer, backed by Y Combinator, built for reviewing work written by coding agents, presenting a plain-language narrative of each change alongside the diff and a running conversation with the agent.

  • GitIntel

    hoangsonww.github.io

    An MCP server that computes git repository analytics such as hotspots, churn, temporal coupling, knowledge maps and risk scoring entirely from local commit history, for AI coding agents like Claude Code and Codex.

  • Axint

    axint.ai

    A verification layer for AI coding agents working on Apple projects: it runs real Xcode builds and tests against the Swift an agent wrote, reconciles static analysis findings against that evidence, and returns a signed proof with the exact repairs still needed.