smile / ez-fieldtypegenerator-bundle
FieldType generator for eZ Platform 6.x
Installs: 1 988
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 9
Forks: 1
Open Issues: 0
Type:ezplatform-bundle
Requires
- php: ~5.6|~7.0
- ezsystems/ezpublish-kernel: ~6.7
README
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