PHPackages                             agence-adeliom/easy-menu-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. agence-adeliom/easy-menu-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

agence-adeliom/easy-menu-bundle
===============================

A Symfony Menu bundle for EasyAdmin

3.0.2(3mo ago)99.1k5[2 issues](https://github.com/agence-adeliom/easy-menu-bundle/issues)MITPHPPHP &gt;=8.2

Since Jan 5Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/agence-adeliom/easy-menu-bundle)[ Packagist](https://packagist.org/packages/agence-adeliom/easy-menu-bundle)[ Docs](https://github.com/agence-adeliom/easy-menu-bundle)[ RSS](/packages/agence-adeliom-easy-menu-bundle/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelogDependencies (13)Versions (134)Used By (0)

[![Adeliom](https://camo.githubusercontent.com/cfcea17cd5354fe5c47c2873d4ec93e8d84e1468240bc616fdfb9196dc032093/68747470733a2f2f6164656c696f6d2e636f6d2f7075626c69632f75706c6f6164732f323031372f30392f4164656c696f6d5f6c6f676f2e706e67)](https://camo.githubusercontent.com/cfcea17cd5354fe5c47c2873d4ec93e8d84e1468240bc616fdfb9196dc032093/68747470733a2f2f6164656c696f6d2e636f6d2f7075626c69632f75706c6f6164732f323031372f30392f4164656c696f6d5f6c6f676f2e706e67)[![Quality gate](https://camo.githubusercontent.com/7cd3d2ffca79be9703802e20b0b64b00b4701034914db9bf29bc057d65ead0b6/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f7175616c6974795f676174653f70726f6a6563743d6167656e63652d6164656c696f6d5f656173792d6d656e752d62756e646c65)](https://sonarcloud.io/dashboard?id=agence-adeliom_easy-menu-bundle)

Easy Menu Bundle
================

[](#easy-menu-bundle)

A basic Menu system for Easyadmin.

Versions
--------

[](#versions)

Repository BranchVersionSymfony CompatibilityPHP CompatibilityStatus`3.x``3.x``6.4`, and `7.x``8.2` or higherNew features and bug fixes`2.x``2.x``5.4`, and `6.x``8.0.2` or higherBug fixes`1.x``1.x``4.4`, and `5.x``7.2.5` or higherNo longer maintainedInstallation with Symfony Flex
------------------------------

[](#installation-with-symfony-flex)

Add our recipes endpoint

```
{
  "extra": {
    "symfony": {
      "endpoint": [
        "https://api.github.com/repos/agence-adeliom/symfony-recipes/contents/index.json?ref=flex/main",
        ...
        "flex://defaults"
      ],
      "allow-contrib": true
    }
  }
}
```

Install with composer

```
composer require agence-adeliom/easy-menu-bundle
```

### Enable tree extension

[](#enable-tree-extension)

Update `config/packages/stof_doctrine_extensions.yaml` to add gedmo tree mapping configuration:

```
stof_doctrine_extensions:
  orm:
    default:
      tree: true

doctrine:
  orm:
    entity_managers:
      default:
        mappings:
          gedmo_tree:
            type: attribute
            prefix: Gedmo\Tree\Entity
            dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Tree/Entity"
            alias: GedmoTree # (optional) it will default to the name set for the mapping
            is_bundle: false
```

### Setup database

[](#setup-database)

#### Using doctrine migrations

[](#using-doctrine-migrations)

```
php bin/console doctrine:migration:diff
php bin/console doctrine:migration:migrate
```

#### Without

[](#without)

```
php bin/console doctrine:schema:update --force
```

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

[](#documentation)

### Manage menu in your Easyadmin dashboard

[](#manage-menu-in-your-easyadmin-dashboard)

Go to your dashboard controller, example : `src/Controller/Admin/DashboardController.php`

```
