agence-adeliom / sylius-happy-cms-plugin
A simple lightweight CMS bundle for Symfony Sylius
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 33
Type:symfony-bundle
pkg:composer/agence-adeliom/sylius-happy-cms-plugin
Requires
- php: ~8.1|~8.2|~8.3|~8.4
- ext-exif: *
- ext-intl: *
- ext-json: *
- agence-adeliom/sylius-easy-crud-plugin: 2.x-dev
- emileperron/tinymce-bundle: ^3.0
- illuminate/support: ^v11.33.2
- james-heinrich/getid3: ^1.9
- league/flysystem-bundle: ^2.4.0 || ^3.0
- liip/imagine-bundle: ^2.8
- maennchen/zipstream-php: ^2.1.0
- nyholm/psr7: ^1.4
- presta/sitemap-bundle: ^v4.1.1
- stof/doctrine-extensions-bundle: ^1.6
- sylius/sylius: ^v2.0
- symfony-cmf/routing-bundle: ^3.0
- symfony/filesystem: ^6.4 || ^7.0
- symfony/options-resolver: ^6.4 || ^7.0
- symfony/property-access: ^6.4 || ^7.0
- symfony/webpack-encore-bundle: ^1.12 || ^2.0
Requires (Dev)
- friendsoftwig/twigcs: ^6.4 || ^v7.0
- lchrusciel/api-test-case: ^5.0
- phpmd/phpmd: ^2.15
- phpspec/phpspec: ^7.0
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: ^1.8.4
- phpstan/phpstan-doctrine: ^1.3.2
- phpstan/phpstan-webmozart-assert: ^1.1
- phpunit/phpunit: ^9.6
- symfony/browser-kit: ^6.4 || ^v7.0
- symfony/debug-bundle: ^6.4 || ^v7.0
- symfony/dotenv: ^6.4 || ^v7.0
- symfony/intl: ^6.4 || ^v7.0
- symfony/maker-bundle: ^1.60
- symfony/web-profiler-bundle: ^6.4 || ^v7.0
- symfony/yaml: ^6.4 || ^v7.0
- symplify/easy-coding-standard: ^12.0
- vimeo/psalm: 5.23.1
Conflicts
- agence-adeliom/sylius-easy-crud-plugin: < v1.13.18
- sylius/sylius: < v2.1.0
- symfony/framework-bundle: 6.2.8
- 2.x-dev
- v2.0.0-ALPHA-1
- 1.x-dev
- v1.14.11
- v1.14.10
- v1.14.9
- v1.14.8
- v1.14.7
- v1.14.6
- v1.14.5
- v1.14.4
- v1.14.3
- v1.14.2
- v1.14.1
- v1.14.0
- v1.13.37
- v1.13.36
- v1.13.35
- v1.13.34
- 1.13.33
- 1.13.32
- 1.13.31
- 1.13.30
- v1.13.29
- v1.13.28
- v1.13.27
- v1.13.26
- v1.13.25
- v1.13.24
- v1.13.23
- v1.13.22
- v1.13.21
- v1.13.20
- v1.13.19
- v1.13.18
- v1.13.17
- v1.13.16
- v1.13.15
- v1.13.14
- v1.13.13
- v1.13.12
- v1.13.11
- v1.13.10
- v1.13.9
- v1.13.8
- v1.13.7
- v1.13.6
- v1.13.5
- v1.13.4
- v1.13.3
- v1.13.2
- v1.13.1
- v1.13.0
- 0.x-dev
- dev-dependabot/composer/0.x/symplify/easy-coding-standard-tw-13.0
- dev-dependabot/composer/0.x/presta/sitemap-bundle-tw-4.2
- dev-dependabot/npm_and_yarn/0.x/tailwindcss-4.1.17
- dev-dependabot/npm_and_yarn/0.x/idb-keyval-6.2.2
- dev-dependabot/npm_and_yarn/babel/runtime-7.28.4
- dev-dependabot/npm_and_yarn/brace-expansion-1.1.12
- dev-dependabot/npm_and_yarn/multi-96c788614a
- dev-dependabot/npm_and_yarn/0.x/postcss-loader-8.2.0
- dev-dependabot/npm_and_yarn/http-proxy-middleware-2.0.9
- dev-dependabot/npm_and_yarn/multi-c31e46d6cf
- dev-dependabot/npm_and_yarn/tmp-0.2.5
- dev-dependabot/npm_and_yarn/axios-0.30.2
- dev-dependabot/npm_and_yarn/0.x/eslint-9.39.1
- dev-dependabot/github_actions/0.x/actions/setup-node-6
- dev-dependabot/github_actions/0.x/actions/upload-artifact-5
- dev-dependabot/github_actions/0.x/actions/checkout-5
- dev-feature/route-cruds
- dev-test-application
- dev-dependabot/npm_and_yarn/0.x/tailwindcss-3.4.17
- dev-dependabot/npm_and_yarn/nanoid-3.3.8
- dev-dependabot/npm_and_yarn/express-4.21.1
- dev-dependabot/npm_and_yarn/multi-8a99b2c3f2
- dev-dependabot/npm_and_yarn/multi-9f37c16f8f
- dev-dependabot/npm_and_yarn/cross-spawn-7.0.6
- dev-dependabot/npm_and_yarn/http-proxy-middleware-2.0.7
- dev-dependabot/npm_and_yarn/vue-3.0.0
- dev-dependabot/npm_and_yarn/multi-cf87d80143
- dev-dependabot/npm_and_yarn/multi-d66d039ac5
- dev-dependabot/npm_and_yarn/multi-9423f4c335
- dev-dependabot/npm_and_yarn/micromatch-4.0.8
- dev-dependabot/npm_and_yarn/webpack-5.94.0
- dev-dependabot/npm_and_yarn/multi-701527892e
- dev-dependabot/npm_and_yarn/axios-0.28.0
- dev-dependabot/npm_and_yarn/webpack-dev-middleware-5.3.4
- dev-dependabot/npm_and_yarn/ws-8.17.1
- dev-dependabot/npm_and_yarn/follow-redirects-1.15.6
- dev-dependabot/npm_and_yarn/0.x/postcss-loader-8.1.1
- dev-dependabot/npm_and_yarn/0.x/idb-keyval-6.2.1
- dev-dependabot/npm_and_yarn/0.x/vue-loader-17.4.2
- dev-dependabot/github_actions/0.x/actions/cache-4
This package is auto-updated.
Last update: 2025-11-11 09:10:46 UTC
README
Sylius Happy CMS Plugin
Overview • Installation • Documentation
Overview
Happy CMS is a Content Management System (CMS) plugin for Sylius that enables you to create and manage dynamic, routable Sylius resources content with ease. It provides a flexible framework for building pages, managing blocks of content, and defining custom routable entities, all integrated seamlessly into your Sylius e-commerce platform.
A duo: Happy CMS + Easy CRUD
This plugin is built to work hand in hand with Sylius Easy CRUD Plugin to provide a seamless experience for managing CMS routable resources in front, and CRUD admin interfaces easily within Sylius.
Installation
1. Install via Composer
composer require agence-adeliom/sylius-happy-cms-plugin composer require --dev symfony/maker-bundle
2. Enable the Bundle
Add the plugin to config/bundles.php:
<?php return [ // ... Adeliom\SyliusEasyCrudPlugin\SyliusEasyCrudPlugin::class => ['all' => true], Adeliom\SyliusHappyCMSPlugin\SyliusHappyCMSPlugin::class => ['all' => true], Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true, 'test' => true], ];
3. Import Configuration
In config/packages/_sylius.yaml:
imports: - { resource: "@SyliusEasyCrudPlugin/config/config.yaml" } - { resource: "@SyliusHappyCMSPlugin/config/config.yaml" }
4. Import Routes
In config/routes.yaml:
sylius_happy_cms: resource: "@SyliusHappyCMSPlugin/config/routes.yaml" sylius_easy_crud: resource: "@SyliusEasyCrudPlugin/config/routes.yaml"
4. Generate default files in your project (entities, repositories and admin classes) :
Actually, we don't have Symfony recipes, so we created a command to generate files automatically.
php bin/console make:happy-cms:install
This command will :
- Create all entities, repositories and admin class
- update config/routes.yaml by adding route properly declared
- update config/packages/sylius_resource.yaml by adding sylius routes properly declared
- update config/packages/sylius_happy_cms.yaml by adding new files properly declared
If something goes wrong, you can do those actions manually, check detailed configuration.
5. Install Assets
php bin/console assets:install
6. Update database
php bin/console doc:mig:diff php bin/console doc:mig:mig php bin/console cache:clear
At this point, the plugin should be installed and ready to use!
Documentation
- Configure Homepage
- Create custom routable entities
- Create custom CMS blocks
- Detailed default configuration
- How routing work
If this plugin helped you, please consider giving it a ⭐ on GitHub!
Made with ❤️ by Adeliom
