composer create-project command fails with "Could not find package sylius/plugin-skeleton with stability stable..."
If I execute the following command:
composer create-project sylius/plugin-skeleton IronManSyliusProductOnDemandPlugin
as described here:
- https://docs.sylius.com/en/latest/book/plugins/guide/installation.html or
- https://docs.sylius.com/en/1.10/book/plugins/creating-plugin.html or
- in the README of this repository
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