This set of tips is intended for people who would like to submit a PHP module or Zend extension that they have written into the PECL repository (for example, so end users can use pecl install yourextension
).
.phpt
tests in the tests
directory.php_extname.h
should be called PHP_EXTNAME_VERSION
, e.g. PHP_MYGREATEXT_VERSION
(PECL uploader checks this matches package.xml
version)package.xml
- copy & edit from another package (from git/vcs repo, not a “release”)PHP_EXTNAME_VERSION
contstant in php_extname.h
is updatedpackage.xml
changelog.release
elementpecl package-validate
to check everything looks goodpecl package
to generate a release .tgz
filepackage.xml
git tag -s <version>
) and sign it with a GPG key if you can.tgz
to https://pecl.php.net/release-upload.phpFor an example of a more comprehensive release process, it might be worth checking out https://github.com/xdebug/xdebug/blob/master/RELEASE_PROCESS.rst
Windows binary packages (including the DLLs) are supposed to be built and linked on the package page automatically. If that didn't happen several hours after the release, contact the PHP for Windows team via #winphp-dev on freenode IRC or email the pecl-dev list.