smile/ez-fieldtypegenerator-bundle

This package is abandoned and no longer maintained. The author suggests using the edgar/ez-fieldtypeextra-bundle package instead.

FieldType generator for eZ Platform 6.x

Installs: 1 990

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 9

Forks: 1

Open Issues: 0

Type:ezplatform-bundle

1.0.9 2017-03-21 08:23 UTC

This package is auto-updated.

Last update: 2022-02-01 13:02:06 UTC


README

SensioLabsInsight

This bundle aims to provide generate:fieldtype command to generate eZ Platform FieldType bundle structure.

Installation

Get the bundle using composer

Add SmileEzFieldTypeGeneratorBundle by running this command from the terminal at the root of your eZPlatform project:

composer require smile/ez-fieldtypegenerator-bundle

Enable the bundle

To start using the bundle, register the bundle in your application's kernel class:

// ezpublish/EzPublishKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Smile\EzFieldTypeGeneratorBundle\SmileEzFieldTypeGeneratorBundle(),
        // ...
    );
}

How to use the new command

php app/console generate:fieldtype

php app/console assets:install --symlink web

php app/console assetic:dump

As generate:bundle, you should enter a valid namepsace.

New required entry is le FieldType name.

A bundle is generated automatically with all code structure to manage new eZ Platform field type