Transferring the repository and the Packagist package
This page is for designers handing a theme over (Handing a theme over).
The repository
GitHub can transfer a repository to another user or organization (Settings > Transfer ownership). GitHub then redirects the old URL to the new one, but tell users to update their links anyway; a redirect can break if someone later creates a repository with the old name.
After the transfer:
- Check the update hook to Packagist still works (Keeping Packagist up to date automatically).
- Update
homepage,supportandInfo_urlin the theme's files in the next release.
The Composer package
The package name (yourvendor/mytheme) is part of every user's composer.json. Two options:
| Option | Users | Note |
|---|---|---|
| Keep the name | Change nothing | Add the new maintainer as maintainer on Packagist; update the repository URL on the package page |
| A new name under the new vendor | Change their require | Mark the old package abandoned with the new one as successor (Archiving a repository) |
Keeping the name is easiest for users. A new name is cleaner if the new owner's vendor must appear.
Step by step (keeping the name)
- On Packagist, add the new owner as a maintainer of the package.
- Transfer the GitHub repository.
- On the package page, update the repository URL if it does not follow automatically.
- Make a release from the new home and check that Packagist shows it.
Related pages
- Submitting a theme to Packagist
- 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.