简体   繁体   中英

Sylius Setup with PHP8: How can I setup a new project with the sylius-standard edition using the latest Sylius Core?

I have tried to setup Sylius with the following guide: https://docs.sylius.com/en/latest/getting-started-with-sylius/installation.html and with PHP 8.x. But the following command fails:

composer create-project sylius/sylius-standard my-shop-app

with several problem messages like that:

... 
doctrine/cache v1.6.0 requires php ~5.5|~7.0 -> your php version (8.0.3) does not satisfy that requirement
...

How can I setup Sylius already now with PHP 8.x? I have seen https://github.com/Sylius/Sylius/issues/12298 which is still open, but as it looks like it seems to be done soon. Therefore I would like to setup a sylius/sylius-standard edition with the latest changes, but don't know how to do it exactly.

Thanks for help!

It worked with the following command:

composer create-project sylius/sylius-standard:dev-master my-shop-app

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM