PHPackages                             se7enxweb/ez-core-extra-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. [Framework](/categories/framework)
4. /
5. se7enxweb/ez-core-extra-bundle

ActiveLibrary[Framework](/categories/framework)

se7enxweb/ez-core-extra-bundle
==============================

Extra sugar for building eZ Platform websites

v4.0.0(4y ago)1231MITPHP

Since May 12Pushed 2mo agoCompare

[ Source](https://github.com/se7enxweb/EzCoreExtraBundle)[ Packagist](https://packagist.org/packages/se7enxweb/ez-core-extra-bundle)[ RSS](/packages/se7enxweb-ez-core-extra-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (12)Versions (40)Used By (1)

EzCoreExtraBundle
=================

[](#ezcoreextrabundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/2a21e283d51899f5d8f0489512986776f19d2ec1cc0a234165c54c710f83ef15/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f34633333303536362d613561392d343563312d383261352d3030643738316633353561302f6d696e692e706e67)](https://insight.sensiolabs.com/projects/4c330566-a5a9-45c1-82a5-00d781f355a0)[![Build Status](https://camo.githubusercontent.com/57fd5cdbe8e5e28e1cac435c42d0e78f152b6ba6f9b0aba28bef89e91e5aebf7/68747470733a2f2f7472617669732d63692e6f72672f6c6f6c61757472756368652f457a436f7265457874726142756e646c652e737667)](http://travis-ci.org/lolautruche/EzCoreExtraBundle)

Adds extra features to eZ Platform.

Compatibility
-------------

[](#compatibility)

- `master` branch is **only compatible with eZ Platform v3**
- `v2.x` is **only compatible with eZ Platform v1 and v2**
- `1.0` branch is compatible with both eZ Platform *and* eZ Publish 5.4/2014.11.

Features
--------

[](#features)

- **[Configurable template variable injection](Resources/doc/template_variables_injection.md)**

    Lets you configure variables to inject within your view template configuration. This avoids you to create custom controllers when you need to add a few simple variables to your view.

    ```
    ezpublish:
        system:
            my_siteaccess:
                location_view:
                    full:
                        article_test:
                            template: "AcmeTestBundle:full:article_test.html.twig"
                            params:
                                # Following keys will be injected as variables into configured template
                                osTypes: [osx, linux, losedows]
                                secret: %secret%
                                # Parameters resolved by config resolver
                                # See https://doc.ez.no/display/EZP/Dynamic+settings+injection
                                default_ttl: $content.default_ttl$
                                # Using a parameter provider, for more complex usecases.
                                my_provider: {"provider": "my_param_provider"}

                            match:
                                Id\Location: 144
    ```
- **[Context aware Twig global variables](Resources/doc/template_variables_injection.md)**

    Lets you define Twig global variables that will be available only in the current SiteAccess.

    ```
    ez_core_extra:
        system:
            my_siteaccess:
                twig_globals:
                    my_variable: foo
                    another_variable: 123
                    something_else: [bar, true, false]
    ```
- **[Simplified authorization checks](Resources/doc/simplified_auth_checks.md)**

    Simplifies calls to `$this->isGranted()` from inside controllers and `is_granted()` from within templates when checking against eZ inner permission system (module/function/valueObject).

    ```

    ```

Requirements
------------

[](#requirements)

EzCoreExtraBundle currently works eZ Platform v1, v2 and v3 (kernel v6, v7 and v8).

> If you're using eZ publish 5.4/2014.11 or Netgen variant, look at `1.1` branch and/or `v1.x` releases.

> If you're using eZ Platform v1 or v2, look at `2.x` branch and/or `v2.x` releases.

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

[](#installation)

This bundle is available on [Packagist](https://packagist.org/packages/lolautruche/ez-core-extra-bundle). You can install it using Composer.

```
composer require lolautruche/ez-core-extra-bundle

```

Then add it to your application:

> `EzCoreExtraBundle` **MUST** be instanciated **AFTER** eZ bundles.

```
// ezpublish/EzPublishKernel.php

public function registerBundles()
{
    $bundles = [
        // ...
        new Lolautruche\EzCoreExtraBundle\EzCoreExtraBundle(),
        // ...
    ];
}
```

Documentation
-------------

[](#documentation)

See [Resources/doc/](Resources/doc)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance56

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 79.6% 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.

###  Release Activity

Cadence

Every ~96 days

Recently: every ~531 days

Total

38

Last Release

110d ago

Major Versions

v1.1.1 → v2.0.12017-08-28

1.1.x-dev → 2.0.x-dev2020-03-25

2.0.x-dev → v3.0.0-beta12020-03-25

v3.0.0 → v4.0.02022-03-18

2.2.x-dev → v3.0.12026-01-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2a5049c5b1e7a22c301a2472d09281be35f717da316873861c1a8ae785ada7a?d=identicon)[7x](/maintainers/7x)

---

Top Contributors

[![lolautruche](https://avatars.githubusercontent.com/u/313528?v=4)](https://github.com/lolautruche "lolautruche (160 commits)")[![emodric](https://avatars.githubusercontent.com/u/362286?v=4)](https://github.com/emodric "emodric (32 commits)")[![se7enxweb](https://avatars.githubusercontent.com/u/51429274?v=4)](https://github.com/se7enxweb "se7enxweb (6 commits)")[![amauryvallier](https://avatars.githubusercontent.com/u/1759202?v=4)](https://github.com/amauryvallier "amauryvallier (1 commits)")[![flovntp](https://avatars.githubusercontent.com/u/1842696?v=4)](https://github.com/flovntp "flovntp (1 commits)")[![nicosomb](https://avatars.githubusercontent.com/u/121870?v=4)](https://github.com/nicosomb "nicosomb (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/se7enxweb-ez-core-extra-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/se7enxweb-ez-core-extra-bundle/health.svg)](https://phpackages.com/packages/se7enxweb-ez-core-extra-bundle)
```

###  Alternatives

[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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