sehrgutesoftware / laravel5-api

A modular controller for exposing Laravel 5 Eloquent models as a REST API
https://packagist.org/packages/sehrgut/laravel5-api
MIT License
13 stars 2 forks source link

Name change #6

Open jwahdatehagh opened 7 years ago

jwahdatehagh commented 7 years ago

We should think about renaming this. This project shouldn't be specific to Laravel v5.

This is what i found about renaming a package:

  1. Transfer the repo on github
  2. Create a repo with the old name
  3. Add a composer.json to the old repo name that just has "require": { "newPackageName": "*"}
  4. Rename in composer.json, and re-submit the URL on packagist, and mark the old name one as "Abandoned" on packagist, and point to the new one. That's the smoothest transition possible for everyone.

(https://github.com/composer/packagist/issues/47#issuecomment-130595780)

Any ideas? Just laravel-api? There are so many with that name already flying around...

jwahdatehagh commented 7 years ago

https://github.com/composer/packagist/issues/47#issuecomment-271962248:

Current solution/procedure:

If you just want to update the github/repo URL

  • Do the rename on github or wherever
  • Edit the package URL on packagist, no need to change the package name for this

If you really really want to rename a package

  • Update the name in composer.json on the master branch or whatever the default branch is
  • Resubmitting the package to packagist using the new name
  • Mark the old package as "Abandoned" on packagist, and use the new name in the form so that people get pointed to it when they install with the old name
  • And no you can't keep your download stats
jsphpl commented 7 years ago

I think it should be specific to L5 - oh wait we should also support lumen! What about laravest?

jwahdatehagh commented 7 years ago

should be specific to L5

??

Anyhow - i like laravest a lot :)