如何通过 composer 安装 eZ Platform

How to install eZ Platform via composer

如何安装eZ平台?

我想开始使用它,我听说最好的方法是使用 composer。我的问题是我之前都没有使用过:\

注意:这是第一个 post 到新的 Whosebug 标签:ezplatform. We needed this tag to be created for future support needs and want to ask a good and common first time user question make it clear to future users that they can use the ezplatform 在 Whosebug 上使用标签来询问特定于 eZ 平台(而不是 eZ Publish)的问题。我意识到这是一个质量很差的第一个标签问题,对此我深表歉意。请尝试理解。

您可以在官方 documentation 中找到完整的安装指南。您唯一需要的命令是

curl -s http://getcomposer.org/installer | php
php -d memory_limit=-1 composer.phar create-project --no-dev ezsystems/ezplatform <directory> [<version>]
cd /<directory>/

请注意,您现在也可以使用 eZ Launchpad 安装 eZ Platform https://ezsystems.github.io/launchpad/(全部在 Docker 之上)