zendframework/zend-code

This package is abandoned and no longer maintained. The author suggests using the laminas/laminas-code package instead.

Extensions to the PHP Reflection API, static code scanning, and code generation


README

Repository abandoned 2019-12-31

This repository has moved to laminas/laminas-code.

Build Status Coverage Status

Zend\Code\Generator provides facilities to generate arbitrary code using an object-oriented interface, both to create new code as well as to update existing code. While the current implementation is limited to generating PHP code, you can easily extend the base class in order to provide code generation for other tasks: JavaScript, configuration files, apache vhosts, etc.