Sylius / PluginSkeleton

Skeleton for starting Sylius plugins.
https://sylius.com/plugins/
73 stars 64 forks source link

composer create-project command fails with "Could not find package sylius/plugin-skeleton with stability stable..." #297

Open olimination opened 3 years ago

olimination commented 3 years ago

If I execute the following command:

composer create-project sylius/plugin-skeleton IronManSyliusProductOnDemandPlugin

as described here:

I receive this error:

[InvalidArgumentException] 
Could not find package sylius/plugin-skeleton with stability stable in a version installable using your PHP version, PHP extensions and Composer version.

I can execute the command successfully if I use for example the -s dev option or if I set a specific branch or version like this:

composer create-project -s dev sylius/plugin-skeleton IronManSyliusProductOnDemandPlugin

or

composer create-project sylius/plugin-skeleton:SOME_VERSION IronManSyliusProductOnDemandPlugin

Is this the intended way to go? If yes, we should update the docs probably stating that the composer stability option should be set to dev or a specific version/branch should be set.

Or maybe we just need to create a new "non-dev" tag in the repository, because the latest tag currently is an "ALPHA" release tag v1.10.0-ALPHA.1.

Same issue has already been reported once here: https://github.com/Sylius/Sylius/issues/7925