sqli / eztoolbox

Bundle used in SQLI projects gathering some bundles like "SQLI Entities Manager", "SQLI ContentType Installer", "SQLI Command Toolbox", some helpers and some Twig operators
MIT License
0 stars 5 forks source link

SQLI eZ Toolbox Bundle

SQLI eZToolbox is a bundle used in SQLI projects gathering some bundles like "SQLI Entities Manager", "SQLI Command Toolbox", some helpers and some Twig operators Compatible with Ibexa 3.3

Installation

Install with composer

composer require sqli/eztoolbox=^2.0

Register the bundle

Activate the bundle in config/bundles.php AFTER all eZSystem/Ibexa bundles

// config/bundles.php

return [
    // ...
    SQLI\EzToolboxBundle\SQLIEzToolboxBundle::class => ['all' => true],
];

Add routes

In config/routes/sqli_eztoolbox.yaml :

# SQLI Admin routes
_sqli_eztoolbox:
    resource: "@SQLIEzToolboxBundle/Resources/config/routing.yaml"
    prefix: /

Clear cache

php bin/console cache:clear

Parameters

Full example

In config/packages/sqli_eztoolbox.yaml add the localisations and namespaces of the entities :

sqli_ez_toolbox:
    entities:
        - { directory: 'Entity/Doctrine', namespace: 'App\Entity'}
    admin_logger:
        enabled: true
    storage_filename_cleaner:
        enabled: true

How to use

(Optional) Change label tabname

You can change label of the default tab using this translation key for domain sqli_admin : sqli_adminmenu_entities_tabdefault

Entities Manager

Toolbox

Other

Changelogs

Upgrade