What an Exponential package (.ezpkg) is
This page is for designers who hear "package" and are not sure whether it means a Composer package or an Exponential package. Both exist; they do different jobs.
In short
- An Exponential package is a directory with a
package.xml(or, in the JSON format, apackage.json) and the files it names: content classes, content objects, extensions, settings files, stylesheets, images. - Exported, it is one file
<name>-<version>.ezpkg: a gzip compressed tar. - Packages are kept in repositories below
var/storage/packages/(localfor packages made or imported here, one directory per vendor). - A package is imported (kept), installed (its items are created on the site) or exported (written as an
.ezpkg).
What it can carry, by creator
| Wizard (creator) | Carries |
|---|---|
Content class export (ezcontentclass) | Class definitions, no content |
Content object export (ezcontentobject) | Nodes or subtrees with their content, optionally their classes and templates |
Extension export (ezextension) | The files of extensions |
Site style (ezstyle) | Two stylesheets, their images and a thumbnail |
Composer package or Exponential package
| Composer package | Exponential package | |
|---|---|---|
| Installs | Files (the theme folder) | Files and database content (classes, objects) |
| Installed with | composer require | Setup > Packages or php ezpm.php |
| Updates | composer update | A new package version installed again |
| Found on | Packagist | Wherever you publish the file |
Many themes use both: a Composer package for the extension, and .ezpkg files inside it for content classes
(Bundling content class packages). The choice is discussed in
Composer package or .ezpkg.
Safety you can rely on
An uploaded archive is inspected before anything is written: size and entry limits, no paths outside the package,
no links or devices, a well-formed package.xml, and no existing package of the same name. Removing a package deletes
its directory but does not uninstall what it installed. Details: Packages.
Related pages
- The package creator wizard, step by step
- Classic XML and JSON packages
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.