Skip to content

Instantly share code, notes, and snippets.

@jacksleight
Last active April 27, 2023 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacksleight/6e7e8dc2c1b40a3da9fc8c37484887a5 to your computer and use it in GitHub Desktop.
Save jacksleight/6e7e8dc2c1b40a3da9fc8c37484887a5 to your computer and use it in GitHub Desktop.
Rename Package

With this method anyone who has the package installed will no longer receive updates and the addon will appear as unlisted in the control panel. The old package will still be installable via composer (GitHub should redirect the old repo URL), however it will output a warning advising the user to switch to the new version.

  1. Disconnect the GitHub repo from Packagist
  2. Rename the GitHub repo
  3. Push an updated composer.json plus anything else that needs renaming
  4. Resubmit the package to Packagist using the new name
  5. Mark the old package as abandoned on Packagist, and use the new name in the form
  6. Update Statamic marketplace with the new GitHub URL and Packagist name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment