Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lolautruche/ezcoreextrabundle
Extra features for eZ Platform (v1.x compatible with eZ Publish 5.4)
https://github.com/lolautruche/ezcoreextrabundle
ez-platform ezpublish ibexa ibexa-bundle ibexadxp symfony-bundle theme
Last synced: 3 months ago
JSON representation
Extra features for eZ Platform (v1.x compatible with eZ Publish 5.4)
- Host: GitHub
- URL: https://github.com/lolautruche/ezcoreextrabundle
- Owner: lolautruche
- License: mit
- Created: 2013-04-20T21:04:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-01-31T11:36:51.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T06:22:18.215Z (3 months ago)
- Topics: ez-platform, ezpublish, ibexa, ibexa-bundle, ibexadxp, symfony-bundle, theme
- Language: PHP
- Homepage:
- Size: 210 KB
- Stars: 28
- Watchers: 9
- Forks: 8
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: Security/Voter/SimplifiedCoreVoter.php
Awesome Lists containing this project
README
# EzCoreExtraBundle
Adds extra features to Ibexa Platform.
## Compatibility
* `master` branch is **only compatible with Ibexa Platform v4**
* `v3.x` 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
* **[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.```yaml
ibexa:
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%
# 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.
```yaml
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 Ibexa inner permission system (module/function/valueObject).```
## Requirements
EzCoreExtraBundle currently works eZ Platform v1, v2 and v3 (kernel v6, v7 and v8), and Ibexa Platform v4.> 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.
> If you're using eZ Platform v3, look at `3.x` branch and/or `v3.x` releases.
## 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** Ibexa bundles.
## Documentation
See [Resources/doc/](Resources/doc)