PHPackages                             lyssal/admin-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. [Admin Panels](/categories/admin)
4. /
5. lyssal/admin-bundle

AbandonedSymfony-bundle[Admin Panels](/categories/admin)

lyssal/admin-bundle
===================

Console administrative Lyssal

0.1.2(8y ago)058proprietaryPHP

Since Mar 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Lyssal/admin-bundle)[ Packagist](https://packagist.org/packages/lyssal/admin-bundle)[ RSS](/packages/lyssal-admin-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (10)Versions (5)Used By (0)

LyssalAdminBundle
=================

[](#lyssaladminbundle)

`LyssalAdminBundle` est une console administrative basée sur `SonataAdmin`, `FOSUser` et `Symfony CMF`.

[![SensioLabsInsight](https://camo.githubusercontent.com/0101ebeef9b97699a239a16a9c18e678c8c619033e33353fa996ca1b92abb4eb/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f39353230333730612d633932352d343035312d386564622d6534386565623037373163362f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/9520370a-c925-4051-8edb-e48eeb0771c6)

Ajouts
------

[](#ajouts)

- Connexion utilisateur à la console (basé sur le code de `SonataUserAdmin`)

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

[](#installation)

1. Mettez à jour votre `composer.json` :

```
"require": {
    "lyssal/admin-bundle": "*"
}
```

2. Installez le bundle :

```
php composer.phar update
```

3. Mettez à jour `AppKernel.php` :

```
new Lyssal\AdminBundle\LyssalAdminBundle(),
```

ainsi que les bundles requis :

```
new Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle(),
new Knp\Bundle\MenuBundle\KnpMenuBundle(),
new FOS\JsRoutingBundle\FOSJsRoutingBundle(),
new FOS\UserBundle\FOSUserBundle(),
new Sonata\CoreBundle\SonataCoreBundle(),
new Sonata\BlockBundle\SonataBlockBundle(),
new Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle(),
new Sonata\AdminBundle\SonataAdminBundle(),
new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
```

Reportez-vous aux documentations de chacun pour leur configuration et paramétrage.

Après ce paramétrage, vous devrez exécuter la commande suivante :

```
php app/console doctrine:phpcr:init:dbal
```

Vous devez ensuite créer un bundle héritant `FOSUserBundle` ou héritant `LyssalUtilisateurBundle` si vous l'avez installé.

Exemple de configuration
------------------------

[](#exemple-de-configuration)

Dans votre `config.yml` :

```
framework:
    translator: { fallbacks: ["%locale%"] }

doctrine_cache:
    providers:
        phpcr_meta:
            type: file_system
        phpcr_nodes:
            type: file_system

fos_user:
    db_driver: orm
    firewall_name: main
    user_class: FOS\UserBundle\Entity\User
    group:
        group_class: FOS\UserBundle\Entity\Group

sonata_block:
    default_contexts: [cms]
    blocks:
        sonata.admin.block.admin_list:
            contexts: [admin]
        # Pour faire fonctionner le moteur de recherche
        sonata.admin.block.search_result:
            contexts: [admin]
        sonata_admin_doctrine_phpcr.tree_block:
            settings:
                id: '/cms'
            contexts:   [admin]
        sonata.user.block.menu:    # used to display the menu in profile pages
        sonata.user.block.account: # used to display menu option (login option)
        sonata.block.service.text:

sonata_admin:
    title: Console administrative
    title_logo: favicon.png
    dashboard:
        # Liste des blocs à afficher sur le tableau de bord
        blocks:
            - { position: left, class: "col-md-12", type: sonata.block.service.text, settings: { content: "BienvenueCeci est votre console administrative."} }
            #- { position: left, type: sonata_admin_doctrine_phpcr.tree_block } # Arbre Symfony CMF
            - { position: right, type: sonata.admin.block.admin_list }
    security:
        handler: sonata.admin.security.handler.role

ivory_ck_editor:
    configs:
        basic:
            toolbar: [ [ 'Bold', 'Italic', '-', 'Subscript', 'Superscript', '-', 'RemoveFormat', '-', 'NumberedList', 'BulletedList', '-', 'Blockquote', '-', 'Link', 'Unlink', '-', 'Undo', 'Redo' ] ]
```

Dans votre `routing.yml` :

```
fos_js_routing:
    resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml"

admin:
    resource: '@SonataAdminBundle/Resources/config/routing/sonata_admin.xml'

_sonata_admin:
    resource: .
    type: sonata_admin
    prefix: /console

lyssal_admin:
    resource: "@LyssalAdminBundle/Resources/config/routing.yml"
    prefix: /console
```

Dans votre `security.yml` :

```
security:
    encoders:
        FOS\UserBundle\Model\UserInterface: sha512

    role_hierarchy:
        ROLE_ADMIN:       [ROLE_USER, ROLE_SONATA_ADMIN]
        ROLE_SUPER_ADMIN: [ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
        SONATA:
            - ROLE_SONATA_PAGE_ADMIN_PAGE_EDIT

    providers:
        fos_userbundle:
            id: fos_user.user_manager

    firewalls:
        dev:
            pattern:  ^/(_(profiler|wdt|error)|css|images|js)/
            security: false

        #
        #

    access_control:
        #

        - { path: ^/efconnect, role: ROLE_USER }
        - { path: ^/elfinder, role: ROLE_USER }

        - { path: ^/console/, role: [ROLE_ADMIN, ROLE_SONATA_ADMIN] }
        - { path: ^/.*, role: IS_AUTHENTICATED_ANONYMOUSLY }
```

Ajouter Symfony CMF
-------------------

[](#ajouter-symfony-cmf)

Dans votre `AppKernel.php` :

```
new Doctrine\Bundle\PHPCRBundle\DoctrinePHPCRBundle(),
new Sonata\DoctrinePHPCRAdminBundle\SonataDoctrinePHPCRAdminBundle(),
new Symfony\Cmf\Bundle\CoreBundle\CmfCoreBundle(),
new Symfony\Cmf\Bundle\ContentBundle\CmfContentBundle(),
new Symfony\Cmf\Bundle\RoutingBundle\CmfRoutingBundle(),
new Symfony\Cmf\Bundle\SimpleCmsBundle\CmfSimpleCmsBundle(),
new Symfony\Cmf\Bundle\TreeBrowserBundle\CmfTreeBrowserBundle(),
new Lyssal\SymfonyCmf\SimpleCmsBundle\LyssalSymfonyCmfSimpleCmsBundle(),
```

Dans votre `config.yml` :

```
doctrine_phpcr:
    session:
        backend:
            type: doctrinedbal
            connection: default
            caches:
                meta: doctrine_cache.providers.phpcr_meta
                nodes: doctrine_cache.providers.phpcr_nodes
        workspace: "default"
        username: "admin"
        password: "admin"
    odm:
        auto_mapping: true
        auto_generate_proxy_classes: "%kernel.debug%"

sonata_doctrine_phpcr_admin:
    document_tree_defaults: [locale]
    # Définir les arbres à afficher (pour le choix des parents par exemple dans la gestion de Symfony CMF)
    document_tree:
        # Arbre générique de Symfony CMF, préférer utiliser l'entité pour les éléments dont on va se servir dans l'application
        Doctrine\ODM\PHPCR\Document\Generic:
            valid_children:
                - all
        # Menus
        Symfony\Cmf\Bundle\MenuBundle\Doctrine\Phpcr\Menu:
            valid_children:
                - all
        # Pages de SimpleCMS
        Symfony\Cmf\Bundle\SimpleCmsBundle\Doctrine\Phpcr\Page:
            valid_children:
                - all

cmf_core:
    persistence:
        phpcr: true
    publish_workflow: false

cmf_routing:
    dynamic:
        templates_by_class:
            Symfony\Cmf\Bundle\SimpleCmsBundle\Doctrine\Phpcr\Page: LaVendeeAppBundle:CMF:index.html.twig

cmf_simple_cms:
    persistence:
        phpcr:
            # Pour l'affichage dans la liste des pages par défaut
            basepath: /cms/simple
            document_class: Symfony\Cmf\Bundle\SimpleCmsBundle\Doctrine\Phpcr\Page
            use_sonata_admin: true
```

Dans votre `routing.yml` :

```
cmf_tree:
    resource: .
    type: 'cmf_tree'
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~373 days

Total

4

Last Release

2964d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10855303?v=4)[Rémi Leclerc](/maintainers/Lyssal)[@Lyssal](https://github.com/Lyssal)

---

Top Contributors

[![Lyssal](https://avatars.githubusercontent.com/u/10855303?v=4)](https://github.com/Lyssal "Lyssal (3 commits)")

---

Tags

adminbackoffice

### Embed Badge

![Health badge](/badges/lyssal-admin-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/lyssal-admin-bundle/health.svg)](https://phpackages.com/packages/lyssal-admin-bundle)
```

###  Alternatives

[sonata-project/admin-bundle

The missing Symfony Admin Generator

2.1k19.0M299](/packages/sonata-project-admin-bundle)[cedriclombardot/admingenerator-generator-bundle

Admingenerator for Symfony2 based on YAML configuration and Twig templating

36485.6k4](/packages/cedriclombardot-admingenerator-generator-bundle)[lag/adminbundle

Generic admin bundle for Symfony2 from L'arrière-guichet

105.9k1](/packages/lag-adminbundle)[symfonyid/admin-bundle

Provide Admin Generator with KISS Principle

141.6k](/packages/symfonyid-admin-bundle)

PHPackages © 2026

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