ezsystems/cookbook-bundle

eZ Platform Bundle with ready to use code samples

Installs: 92

Dependents: 0

Suggesters: 0

Security: 0

Stars: 15

Watchers: 24

Forks: 23

Type:ezplatform-bundle

dev-master / 1.0.x-dev 2020-04-13 13:09 UTC

This package is auto-updated.

Last update: 2024-12-14 00:02:09 UTC


README

Cookbook bundle aims to:

  • Provide full working examples of eZ Platform API use
  • Serve as a reusale set of commands you can use when you need to during development

1.0 on this bundle aims to work across eZ Publish Platform 5.4 and eZ Platform 1.7 / 1.13 / 2.5.

Getting started

Required:

  • PHP (minimum 5.6, 7.0+ is recommended)
  • Composer
  1. Create and install eZ Platform using composer:

    composer create-project ezsystems/ezplatform:^2

    Follow the instructions that show up on the screen to have fully working clean install of eZ Platform.

  2. Install CookbookBundle using composer:

    # execute in your eZ Platform project working directory:
    composer require ezsystems/cookbook-bundle:^1.0@dev

    Follow the instructions that show up on the screen to have fully working clean install of CookbookBundle.

  3. Enable the bundle in AppKernel.php:

    public function registerBundles()
    {
        $bundles = array(
            // ...
            new EzSystems\CookbookBundle\EzSystemsCookbookBundle(),
        );
    
        // ...
    }
  4. Clear Symfony cache

    php bin/console cache:clear
  5. Try already defined commands. You can find all available commands by:

    php bin/console |grep 'ezpublish:cookbook'

That's all!