PHPackages                             nyrodev/nyrocms-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. nyrodev/nyrocms-bundle

ActiveSymfony-bundle

nyrodev/nyrocms-bundle
======================

CMS Bundle for Symfony, provide all admin content handling and public controllers

v6.1(1y ago)2782MITPHP

Since Nov 17Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/nyroDev/NyroCmsBundle)[ Packagist](https://packagist.org/packages/nyrodev/nyrocms-bundle)[ Docs](https://github.com/nyroDev/NyroCmsBundle)[ RSS](/packages/nyrodev-nyrocms-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (20)Versions (20)Used By (0)

NyroCmsBundle
=============

[](#nyrocmsbundle)

Cms Bundle for Symfony

Needed npm packages
===================

[](#needed-npm-packages)

- copy-webpack-plugin
- sortablejs
- jquery
- jquery-ui
- jquery-mobile (for slideshow swipe feature)

```
npm i copy-webpack-plugin sortablejs jquery jquery-ui jquery-mobile --save-dev

```

Needed configuration
====================

[](#needed-configuration)

config/packages/nyrodev.yaml

```
parameters:
    adminPrefix: /admin
    localeNames:
        fr: Français
        en: English

nyro_dev_utility:
    db_driver: orm
    setLocale: true

nyro_dev_nyro_cms:
    model:
        namespace: App\Entity
```

config/packages/stof\_doctrine\_extensions.yaml

```
stof_doctrine_extensions:
    default_locale: "%locale%"
    translation_fallback: true
    class:
        loggable: NyroDev\UtilityBundle\EventListener\LoggableListener
        translatable: NyroDev\UtilityBundle\EventListener\TranslatableListener
    orm:
        default:
            tree: true
            sortable: true
            loggable: true
            translatable: true
            timestampable: true
            softdeleteable: true
```

config/packages/doctrine.yaml

```
doctrine:
    orm:
        filters:
            softdeleteable:
                class: Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter
                enabled: true
```

config/routes/nyrocms.yaml

```
nyrodev_assets:
    resource: "@NyroDevUtilityBundle/Resources/config/routingAssets.yaml"

nyrocms_admin:
    resource: "@NyroDevNyroCmsBundle/Resources/config/routingAdmin.yaml"
    prefix:   /admin

frontenay:
    resource:
        handler: frontenay
        controller: App\Controller\FrontController
        homepage: true
    type: nyrocms
```

Resource configurations could be :

- handler (string) (required): Name of the handle to user
- controller (string) (required): Front Controller to use
- homepage (boolean): in order to add \_homepage route alias (only 1 could be set to true)
- forceLang(boolean): to force lang in all URL
- dynamic (array): if you want to load dynamic rootContent using host or paths:
    - rootHandler (string) (required): Name of the parent root handler, used to find defaults and locales
    - host (string): Dynamic host to use in URL, should contains {dynamicHandler}
    - path (string): Dynamic path to use in URL, should contains {dynamicHandler}, starts and ends with a /
    - xmlSitemap (boolean): Enable or disable xmlSitemap (if not provided, same as rootContent used)

config/security.yaml

```
security:
    password_hashers:
        Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto'
        App\Entity\User:
            algorithm: auto
    providers:
        db_provider:
            entity:
                class: App\Entity\User
    role_hierarchy:
        ROLE_SUPERADMIN: [ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
    firewalls:
        dev:
            pattern: ^/(_(profiler|wdt)|css|images|js)/
            security: false
        admin:
            pattern:    ^%adminPrefix%/.*
            provider: db_provider
            logout:
                path:   nyrocms_admin_security_logout
                target: nyrocms_admin_login
            form_login:
                login_path: nyrocms_admin_login
                check_path: nyrocms_admin_security_check
                default_target_path: nyrocms_admin_homepage
    access_control:
        - { path: ^%adminPrefix%/login, roles: PUBLIC_ACCESS }
        - { path: ^%adminPrefix%/forgot, roles: PUBLIC_ACCESS }
        - { path: ^%adminPrefix%/welcome, roles: PUBLIC_ACCESS }
        - { path: ^%adminPrefix%/contentHandler, roles: ROLE_DEVELOPPER }
        - { path: ^%adminPrefix%/userRole, roles: ROLE_SUPERADMIN }
        - { path: ^%adminPrefix%/user, roles: ROLE_SUPERADMIN }
        - { path: ^%adminPrefix%, roles: ROLE_ADMIN }
```

Webpack config Entries needed
=============================

[](#webpack-config-entries-needed)

```
    .addEntry('js/admin/nyroCms', './vendor/nyrodev/nyrocms-bundle/Resources/public/js/nyroCms.js')
    .addEntry('css/admin/nyroCms', './vendor/nyrodev/nyrocms-bundle/Resources/public/css/nyroCms.scss')

    .addEntry('js/admin/nyroCmsComposer', './vendor/nyrodev/nyrocms-bundle/Resources/public/js/nyroCmsComposer.js')
    .addEntry('css/admin/nyroCmsComposer', './vendor/nyrodev/nyrocms-bundle/Resources/public/css/nyroCmsComposer.scss')

    .addPlugin(new CopyWebpackPlugin({
        patterns: [
            {from: 'vendor/tinymce/tinymce', to: '../tinymce'},
            {from: 'vendor/nyrodev/utility-bundle/Resources/public/js/filemanager', to: '../tinymce/plugins/filemanager'},
            {
                from: 'node_modules/tinymce-i18n/langs7/fr_FR.js',
                to: '../tinymce/langs/fr.js',
                transform: (input, filename) => {
                    return input.toString().replace('tinymce.addI18n("fr_FR", {', 'tinymce.addI18n("fr", {');
                }
            }
        ]
    }))

    .enableSassLoader()
    .autoProvidejQuery()
```

Command for entities and mapping creation
=========================================

[](#command-for-entities-and-mapping-creation)

`./bin/console nyrocms:createDbClasses`

Others commands
===============

[](#others-commands)

`./bin/console nyrocms:addUser`
`./bin/console nyrocms:addRootContent`

Edit config/bootstrap.php
=========================

[](#edit-configbootstrapphp)

`$loader = require dirname(__DIR__).'/vendor/autoload.php';`

Overwrite a template
====================

[](#overwrite-a-template)

Copy the file from Resources/views into your own folder: src/Resources/NyroDevNyroCmsBundle/views/

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance66

Regular maintenance activity

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity70

Established project with proven stability

 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 ~119 days

Recently: every ~254 days

Total

19

Last Release

589d ago

Major Versions

v2.8.6 → v4.12020-04-22

2.8.x-dev → 4.x-dev2021-11-15

4.x-dev → 5.x-dev2021-12-23

v5.0 → v6.02024-10-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/c78e5c67d4c3b3b43d760b2db8e0505e38518a94fea2f450879808420b830bc2?d=identicon)[nyroDev](/maintainers/nyroDev)

---

Top Contributors

[![nyroDev](https://avatars.githubusercontent.com/u/265662?v=4)](https://github.com/nyroDev "nyroDev (465 commits)")

### Embed Badge

![Health badge](/badges/nyrodev-nyrocms-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/nyrodev-nyrocms-bundle/health.svg)](https://phpackages.com/packages/nyrodev-nyrocms-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)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[chameleon-system/chameleon-base

The Chameleon System core.

1026.5k3](/packages/chameleon-system-chameleon-base)[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)

PHPackages © 2026

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