PEAR_PackageFileManager::addMaintainer() – Add a maintainer to the list of maintainers.


require_once 'PEAR/PackageFileManager.php';

void PEAR_PackageFileManager::addMaintainer ( string $handle , lead|developer|contributor|helper $role , string $name , string $email )


Every maintainer must have a valid account at The first parameter is the account name (for instance, cellog is the handle for Greg Beaver at Every maintainer has one of four possible roles:

  • lead: the primary maintainer

  • developer: an important developer on the project

  • contributor: self-explanatory

  • helper: ditto

Finally, specify the name and email of the maintainer


string $handle

username on of maintainer

lead|developer|contributor|helper $role

role of maintainer

string $name

full name of maintainer

string $email

email address of maintainer


throws no exceptions thrown


This function can not be called statically.

Add a dependency on another package, or an extension/php (Previous) Add an install-time platform conditional install for a file (Next)
Last updated: Sun, 04 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.