Proposal for "CodeGen_PECL"

» Metadata » Status
» Description
CodeGen_PECL is a cleaned up version of PECL_Gen (currently available on

All general, non PECL specific functionality has been striped out and moved to the CodeGen package, at the same time conversion to PEAR coding standards has been done.

CodeGen_PECL implements a PECL extension generator based on CodeGen that aims to replace the old ext-skel shell/awk/sed script that comes with the PHP source.

CodeGen_PECL provides the pecl-gen script that takes a XML description file with
embedded code snippets and creates a complete ready-to-compile PECL extension
from this, including code, build system files like config.m4 and config.w32, DocBook
documentation, package.xml descriptions and .phpt test case templates.

CodeGen_PECL currently generates code for:

- functions
- constants
- resources
- php.ini directives
- thread-global variables

experimental support exists for

- PHP 5 classes
- Streams
» Dependencies » Links
  • CodeGen
» Timeline » Changelog
  • First Draft: 2005-07-03
  • Proposal: 2005-07-03
  • Call for Votes: 2005-07-10