This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

The Polygon Field Type Bundle is an eZ Platform bundle providing a field type to manage and store geosjon polygons to be used with mapbox.

dev-master 2018-01-19 16:56 UTC

This package is not auto-updated.

Last update: 2021-12-03 08:32:21 UTC


The Polygon Field Type Bundle for eZ Platform was made to simplify adding and managing polygons (in the form of geojson) to mapbox maps. For a live example, see


Use Composer

Run the following from your website root folder to install Polygon Field Type Bundle:

$ composer require donfelice/PolygonFieldTypeBundle

Activate the bundle

Activate the bundle in app/AppKernel.php file by adding it to the $bundles array in registerBundles method, together with other required bundles:

public function registerBundles()
    $bundles[] = new Donfelice\PolygonFieldTypeBundle\DonfelicePolygonFieldTypeBundle();

    return $bundles;

Assetic configuration

You need to add it to Assetic configuration in app/config/config.yml, together with EzPlatformAdminUiBundle and all other bundles already configured there:

    bundles: [EzPlatformAdminUiBundle, DonfelicePolygonFieldTypeBundle]