简体   繁体   English

使用 PHP8 设置 Sylius:如何使用最新的 Sylius Core 使用 sylius 标准版设置新项目?

[英]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.我已尝试使用以下指南设置Sylius:https://docs.sylius.com/en/latest/getting-started-with-sylius/installation.html和 Z2FEC3923204A5C23BAC138 DA5C23BAC138 DA。 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?我现在如何使用 PHP 8.x 设置 Sylius? 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.我已经看到https://github.com/Sylius/Sylius/issues/12298仍然开放,但看起来似乎很快就会完成。 Therefore I would like to setup a sylius/sylius-standard edition with the latest changes, but don't know how to do it exactly.因此,我想设置一个带有最新更改的 sylius/sylius-standard 版本,但不知道该怎么做。

Thanks for help!感谢帮助!

It worked with the following command:它使用以下命令:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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