Skip to content

Publishing Extensions

Publishing an extension is an easy way to:

  • recruit collaborators for a project
  • increase your user base and, along with it, the potential for:
    • contributed bug fixes
    • new use cases
    • feature requests and project funding
  • bring positive attention to your organization
  • share a useful feature or set of configurations with worthy nonprofit and community organizations

While you could simply publish your extension to a web-based code repository like GitHub, publishing through the CiviCRM Extensions Directory makes it easy for others to find and download it. Moreover, CiviCRM extensions which undergo a formal review can even be distributed in-application to CiviCRM sites running version 4.2 or greater.

The following instructions assume you will be publishing a CiviCRM-native extension (i.e., a CMS-agnostic extension). Instructions for CMS-specific extensions are similar; differences are noted in Notes for CMS-specific extensions.

Publishing a CiviCRM extension

CiviCRM's publishing process automates a number of tasks related to maintaining your extensions. Just provide some basic information about the extension, and the rest is taken care of for you! Subsequent releases will automatically be detected, published, and submitted for translation.


  • The extension code is published in a public GitHub repository.
  • The extension manifest (info.xml) is in the root of the repository.
  • The extension manifest is valid.
  • The name of the extension repository (e.g., matches the extension's fully qualified name (.e.g, org.civicrm.legcase) or its short name as specified by the file tag in info.xml (e.g., legcase).
  • Each release of the extension is "tagged" in the git repository with a "PHP-standardized" version number string. Version number strings may optionally be prefixed with a "v".
    • Valid tag names: "v1.2.3", "1.2.3", "v1.2-beta3", "1.2-beta3"
    • Invalid (ignored) tag names: "stable", "1.2-prerelease"

Publishing an extension:

  • Register for an account on if you do not already have one.
  • Login to and create a new extension node. If you see an "Access Denied" message, you'll need to email with your user id and request permission to publish extensions, or you can ask in the extensions channel on the CiviCRM chat.
  • Fill out all required fields. Also provide the "Git URL" for the extension.
  • Complete the steps in "Publishing an extension release" below.
  • Within a day, you will receive an email notifying you that the extension was published on or that a problem with the extension manifest (info.xml) prevented publication.

Since July 2020, extensions added to automatically create a Gitlab project on CiviCRM's Gitlab. You can still use your own git repository (ex: on Github), however using CiviCRM's Gitlab has the advantage of increasing the potential for collaboration with the rest of the community. Further more, new releases are published immediately on, instead of waiting 24 hours. Read more on the CiviCRM blog.

Publishing an extension release:

  • Update the extension manifest and push the changes to your GitHub repository. At minimum you'll need to increment the version number.
  • Create a git "tag" which matches the version in the manifest and push it, e.g.:
git tag -a v1.2.0
git push origin v1.2.0
  • Now to get that release on
  • If your extension is on GitLab (strongly recommended!) you don't need to do anything, an automatic webhook will fire off the instructions to publish the new release on for you!
  • If your extension is on GitHub you'll need to wait upto 24 hours for the CiviCRM extension directory to detect the new release and publish the node on

Automatic release publishing disabled

If you have disabled the automatic publishing of new release nodes on you will need to manually review and publish your release before it will be publically visible!

  • Once the publishing has triggered you will receive an email notifying you that the release was published on or that a problem with the extension manifest prevented publication.

Notes for CMS-specific extensions

CMS-specific extensions are developed for a single CMS / CiviCRM environment (e.g. Drupal 7 + CiviCRM, Joomla 2.5 + CiviCRM, etc.), typically using the extension framework of the CMS in question (for example, webform_civicrm is packaged as a Drupal module which invokes Drupal hooks).

These extensions can be published on the extensions directory, but CiviCRM does not provide in-application distribution for them. We recommend publishing them to the CiviCRM directory and to the relevant CMS extension directory (, etc.) to take advantage of the distribution system provided by the CMS.

To publish a CMS-specific extension, follow the steps outlined above for publishing an extension. (Note that the prerequisites do not apply, that the extension manifest will be named and formatted according to the conventions of the CMS and not CiviCRM's info.xml, and that you may choose not to supply a "Git URL.") On the resulting release node, you will find a link "Add Extension Release." On this screen, you will provide release information as well as a link from which the extension may be downloaded.

If you develop new version(s) of your extension, you can submit additional releases at any time.

Automated distribution

The best way to reap the benefits of publishing your extension is to make it as easy as possible for others to install it. With just a few clicks, CiviCRM site administrators can view and install CiviCRM extension releases which meet certain criteria. To be eligible for automated distribution:

  • The extension must be published in the Extensions Directory.
  • One of the extension's maintainers must request an extension review.
  • The extension manifest must flag the release as "stable."
  • The extension manifest must flag the release as compatible with CiviCRM version 4.2 or greater.
  • The release must be CMS-agnostic, and it must install without errors or notices from the Manage Extensions page of a site running a stable release of CiviCRM. Errors installing in any of the supported CMSes are grounds for holding an extension back from automated distribution.
  • The extension must provide the promised functionality. Serious bugs and errors found by a CiviCRM community extension moderator exploring the functionality of the extension are grounds for holding an extension back from automated distribution.

It is strongly recommended that you write unit tests for the extension and include them in the extension's repository. For an example, see the extension org.civicrm.exampletests.

Once an extension release meets these criteria, the extension will be approved for automated distribution by a CiviCRM community extension moderator.


When an extension is approved for automatic distribution, it will automatically be added to Transifex under the civicrm_extensions project so that any strings in the interface (if there are any) may be translated.

This synchronisation task is run nightly. It also generates the translation files, which may be downloaded with the l10nupdate extension or by guessing the URL using the form: