Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,113 of 9,113 pages
About the help in other languages
All help pages

Submitting a theme to Packagist

Publish a theme as a Composer package on Packagist - prerequisites, the Submit page, checking the package page, and testing composer require from a clean installation.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/distribution/submitting-to-packagist.md

On this page

Submitting a theme to Packagist

This page is for designers whose theme is in a public Git repository with a valid composer.json. Packagist is the main index Composer searches; once your theme is there, anyone can run composer require yourvendor/mytheme.

Before you start

  • A public repository with composer.json at its root (composer.json for a theme).
  • composer validate passes.
  • At least one release tag pushed (GitHub releases). Without a tag, Packagist lists only the branch (dev-main).
  • A Packagist account. Signing in with GitHub makes the automatic updates simplest (Keeping Packagist up to date automatically).
  • The package name is free: https://packagist.org/packages/yourvendor/mytheme shows "not found".

Step by step

  1. Sign in on packagist.org.

  2. Open Submit (https://packagist.org/packages/submit).

  3. Enter the repository URL (https://github.com/yourvendor/mytheme) and press Check. Packagist reads composer.json and shows the package name it found.

  4. Confirm with Submit. The package page opens and the versions appear after Packagist has read the repository.

  5. Check the package page: name, description, license, the README, and the versions (v1.0.0 shown as 1.0.0, plus dev-main).

  6. Set up the automatic update right away (Keeping Packagist up to date automatically).

  7. Test from a clean installation:

    composer require yourvendor/mytheme

    Expected: Composer installs the newest tagged version into extension/<name>.

What Packagist reads

Packagist reads composer.json from every tag and branch. The version comes from the tag name; a version field in composer.json, if present, must agree with it. A theme that also uses the 7x theme repositories as a model can compare: https://repo.packagist.org/p2/se7enxweb/cjw_themes_jumper.json lists every version with its license and source.

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x