Table of Contents

This admin page will help to package your extensions, such as modules, add-ons, language packs, interfaces and themes, into PEAR packages which you could upload to MagentoConnect and share with other community members. The extension packaging process includes generation of package.xml file with information about the package collected by the steps below, and archiving content files and folders specified by the Contents step.

After package release is uploaded to MagentoConnect, it will be available for download and installation for other members, by pasting extension key into MagentoConnect downloader.

Extension key

Is constructed from

So the extension key could look like this:

NOTES

Make sure that downloader/pearlib/php and var/pear folders exist and have writable permissions for the web service.

cd downloader
./pear mage-setup

Packaging an extension

Is divided into 5 steps, detailed below.

After all steps have been completed, you can click “Save” button to save package information info into var/pear/<package_name>.ser file for future retrieval by clicking “Load” button.

Also you can generate the release package by clicking on “Save data and Create Package” button, which will validate information and create .tar.gz file in var/pear that you can upload to MagentoConnect.

Package Info

Here is general information about package without regards to releases or versions

Release Info

In this tab provide release/version specific information

Maintainers (required)

Maintainers of the package, user names the same as in MagentoConnect Only LEAD maintainers can upload releases The User field is your magentocommerce.com user name (found under My Account, User Name and Password). Don’t use your screen name here.

Dependencies

Packages

Dependencies for current package

Subpackages

Used when new release of current package was splitted into 2 or more packages.

In general no packages can share same files, but subpackages can contain files that were used in previous version of current package.

Fields: same as in packages

Extensions

PHP/PECL extensions dependencies

Contents (required)