PHPackages                             bdunogier/ez-fieldtype-generator-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bdunogier/ez-fieldtype-generator-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bdunogier/ez-fieldtype-generator-bundle
=======================================

418PHP

Since Mar 7Pushed 9y ago2 watchersCompare

[ Source](https://github.com/bdunogier/ez-fieldtype-generator-bundle)[ Packagist](https://packagist.org/packages/bdunogier/ez-fieldtype-generator-bundle)[ RSS](/packages/bdunogier-ez-fieldtype-generator-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

eZ FieldType generator
======================

[](#ez-fieldtype-generator)

Status
------

[](#status)

This is a proof-of-concept/prototype. It generates a `Type` and a `Value` class, as well as a `fieldtypes.yml` that registers the fieldtype, but the class name, namespace, etc are still wrong.

Installation
------------

[](#installation)

Since the package isn't registered on packagist yet, you need to add a VCS entry to \\ composer.json`:

Require the ezobject/wrapperbundle package into your composer.json file :

```
{
    "repositories": [
        { "type": "vcs", "url": "https://github.com/bdunogier/ez-fieldtype-generator-bundle.git" }
    ],
    "require": {
        "bdunogier": "dev-master"
    }
}

```

Add `BDEzFieldTypeGeneratorBundle` to `EzPublishKernel.php`:

```
$bundles = array(
    // ...
    new BD\EzFieldTypeGeneratorBundle\BDEzFieldTypeGeneratorBundle(),
);

```

Usage
-----

[](#usage)

```
php ezpublish/console generate:ez:fieldtype

```

When asked for the name of the bundle, use an existing bundle. If you don't have one for it, generate one using `generate:bundle` first.

The script will then ask for the fieldtype's name, that is really the fieldtype's identifier.

Confirm generation, and the files will be written to the bundle:

```
$ php app/console generate:ez:fieldtype

  Welcome to the eZ FieldType generator

Your FieldType must be created in a bundle.

If you don't have a bundle for it, please create one using generate:bundle first
Target bundle name: BDTestBundle

A FieldType requires a unique identifier.
Identifiers can contain alphanumeric characters as well as underscores

FieldType name: bdtest

  Summary before generation

You are going to generate a "bdtest" FieldType in the "BDTestBundle" bundle.

Do you confirm generation [yes]?
Generating the FieldType code: OK

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/235928?v=4)[Bertrand Dunogier](/maintainers/bdunogier)[@bdunogier](https://github.com/bdunogier)

---

Top Contributors

[![bdunogier](https://avatars.githubusercontent.com/u/235928?v=4)](https://github.com/bdunogier "bdunogier (1 commits)")

### Embed Badge

![Health badge](/badges/bdunogier-ez-fieldtype-generator-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/bdunogier-ez-fieldtype-generator-bundle/health.svg)](https://phpackages.com/packages/bdunogier-ez-fieldtype-generator-bundle)
```

###  Alternatives

[optimistdigital/nova-resizable

Simple Laravel Nova tool to enable column resizing

1818.9k](/packages/optimistdigital-nova-resizable)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
