ezsystems / cookbook-bundle
eZ Platform Bundle,包含可使用的代码示例
dev-master / 1.0.x-dev
2020-04-13 13:09 UTC
Requires
- php: ^5.6 || ^7.0
- ezsystems/ezpublish-kernel: ^5.4.10 || ^6.7 || ^7.0
This package is auto-updated.
Last update: 2024-09-13 23:34:32 UTC
README
Cookbook bundle的目标是
- 提供eZ Platform API使用的完整工作示例
- 作为一个可重用的命令集合,在开发过程中需要时可以使用
本bundle的1.0版本旨在与eZ Publish Platform 5.4和eZ Platform 1.7 / 1.13 / 2.5兼容。
入门
所需
- PHP (最低版本5.6,推荐使用7.0+)
- Composer
-
使用Composer创建和安装eZ Platform
composer create-project ezsystems/ezplatform:^2
按照屏幕上的说明进行操作,以实现eZ Platform的完整工作安装。
-
使用Composer安装
CookbookBundle
# execute in your eZ Platform project working directory: composer require ezsystems/cookbook-bundle:^1.0@dev
按照屏幕上的说明进行操作,以实现
CookbookBundle
的完整工作安装。 -
在
AppKernel.php
中启用该bundlepublic function registerBundles() { $bundles = array( // ... new EzSystems\CookbookBundle\EzSystemsCookbookBundle(), ); // ... }
-
清除Symfony缓存
php bin/console cache:clear
-
尝试已定义的命令。您可以通过以下方式找到所有可用的命令
php bin/console |grep 'ezpublish:cookbook'
这就完了!