Download the PHP package agence-adeliom/sylius-happy-cms-plugin without Composer

On this page you can find all versions of the php package agence-adeliom/sylius-happy-cms-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sylius-happy-cms-plugin

# Sylius Happy CMS Plugin — CMS & Page Builder for Sylius **Visual page builder in the Sylius admin, content blocks, media manager, menus, SEO and multilingual pages for Sylius 1.13 / 1.14 and Sylius 2.x.**

[Overview](#overview) • [Versions](#versions) • [Installation](#installation) • [Documentation](#documentation)

Overview

Happy CMS is a CMS plugin for Sylius with a visual page builder in the back office (Sylius admin). Merchants and content editors build and edit pages from content blocks and see a live preview of the shop page, without writing code. Developers keep full control: pages are Sylius routable resources, blocks are Symfony form types and Twig templates.

It works with Sylius 1.13, 1.14, 2.0, 2.1, 2.2 and 2.3: each Sylius version has its own plugin branch (see Versions).

Back-office page builder

CMS features


Installation and documentation

  1. Pick the plugin version matching your Sylius version
  2. Install this plugin
  3. Explore documentation

Versions

The plugin supports Sylius 1.x and every Sylius 2.x minor release, not only Sylius 2.3. The 2.3.x branch (the one you are probably reading) targets Sylius 2.3 only. Older Sylius versions are supported by older plugin versions, each maintained on its own Git branch with its own README.

Pick the line matching the Sylius version of your project. Running composer require agence-adeliom/sylius-happy-cms-plugin without a constraint also lets Composer select the compatible version.

Your Sylius version Plugin version Composer constraint Git branch PHP Symfony Maintained Installation guide
2.3 2.3.x ^2.3 2.3.x 8.4, 8.5 7.4, 8.x Yes This README
2.1, 2.2 2.1.x ~2.1.0 2.1.x 8.3, 8.4, 8.5 7.4 Yes 2.1.x README
2.0 2.0.x ~2.0.0 2.0.x 8.2, 8.3, 8.4 6.4, 7.x No 2.0.x README
1.13, 1.14 1.14.x ^1.14 1.x 8.2, 8.3, 8.4 6.4, 7.x No v1.14.12 README

Upgrading between versions

Feature preview

Installation

These steps install the 2.3.x version (Sylius 2.3). For another Sylius version, follow the installation guide linked in the Versions table.

1. Install via Composer

2. Enable the Bundle

Add the plugin to config/bundles.php:

3. Import Configuration

In config/packages/_sylius.yaml:

4. Import Routes

In config/routes.yaml:

The admin routes (config/routes.yaml) are served under the Sylius admin path (/%sylius_admin.path_name%, /admin by default). If your admin uses another prefix or its own host, import the prefix-less files instead of config/routes.yaml and set your own prefix / host:

5. Configure your firewall to protect preview routes

All admin users with ROLE_ALLOWED_TO_SWITCH AND ROLE_HAPPY_CMS_CONTENT_BUILDER will be able to preview CMS routable entities.

Required for the page builder. Preview URLs (?happy_cms_preview=1) are rendered on the shop side. Without this firewall, the admin session is not loaded there and the preview fails with Access Denied to preview content document. The admin_happy_cms_content_builder firewall must be declared before the shop firewall (the first matching firewall wins), and the role_hierarchy entry below is mandatory.

In config/packages/security.yaml

5.1 Allow the page builder iframes (X-Frame-Options)

The page builder displays admin and front pages (preview) inside iframes, so every response must allow same-origin framing. Send a single X-Frame-Options: SAMEORIGIN header, from one source only:

Two conflicting headers (DENY, SAMEORIGIN) make the browser fall back to DENY, and the page builder breaks with:

Check with curl -skI https://your-shop.local/en_US/ | grep -i x-frame-options: exactly one SAMEORIGIN line is expected.

5. 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.

This command will :

If something goes wrong, you can do those actions manually, check detailed configuration.

6. Install Assets

7. Update database

8. (Optional) Configure AI Development Guides

If you're using AI assistants (like Claude Code, GitHub Copilot, or Cursor), configure them to use the plugin's specialized guides:

For Claude Code users:

Create or update CLAUDE.md in your project root:

For other AI assistants:

Create or update .cursorrules, AGENTS.md, or your AI configuration file with similar content pointing to the guides in vendor/agence-adeliom/sylius-happy-cms-plugin/docs/agents/.

Add "See @CLAUDE.md"

Symfony AI Mate tools

With Symfony AI Mate and sylius/sylius-mate-extension installed (composer require --dev sylius/sylius-mate-extension, then vendor/bin/mate discover), the plugin exposes read-only debugging tools to your AI assistant, next to the easy_crud_* tools of the easy-crud plugin:

Tool Answers
happy_cms_match_url Which route serves a URL (CMS or Symfony), the content behind a CMS route and its publication state; on a 404, the CMS candidates and the trailing slash variant
happy_cms_list_blocks The registered flex and shared blocks (stored block_type, template, assets), or those allowed in the flexible content fields of a resource
happy_cms_content_blocks The blocks stored by an entity (JSON flexible content and page builder), each one rendered on its own with its error; or the block types stored by every entity of a resource

They boot the application kernel in dev and, except happy_cms_list_blocks, read the database. See config/mate/INSTRUCTIONS.md.


Documentation

Start by read the documentation, then you can :


**If this plugin helped you, please consider giving it a ⭐ on GitHub!** Made with ❤️ by [Adeliom](https://www.adeliom.com/) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![PHP Version](https://img.shields.io/badge/php-%5E8.2-blue)](https://php.net) [![Sylius Version](https://img.shields.io/badge/sylius-1.13%20%7C%201.14%20%7C%202.x-blue)](https://sylius.com) [![Latest Version](https://img.shields.io/packagist/v/agence-adeliom/sylius-happy-cms-plugin)](https://packagist.org/packages/agence-adeliom/sylius-happy-cms-plugin)

All versions of sylius-happy-cms-plugin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4 || ^8.5
ext-exif Version *
ext-intl Version *
ext-json Version *
agence-adeliom/sylius-easy-crud-plugin Version ^2.3.2
emileperron/tinymce-bundle Version ^3.0
illuminate/support Version ^v11.33.2
james-heinrich/getid3 Version ^1.9
league/flysystem-bundle Version ^2.4.0 || ^3.0
liip/imagine-bundle Version ^2.8
maennchen/zipstream-php Version ^3.1
presta/sitemap-bundle Version ^v4.1.1
stof/doctrine-extensions-bundle Version ^1.6
sylius/sylius Version ^2.3
symfony-cmf/routing-bundle Version ^3.0
symfony/filesystem Version ^7.4 || ^8.0
symfony/options-resolver Version ^7.4 || ^8.0
symfony/property-access Version ^7.4 || ^8.0
symfony/serializer Version ^7.4 || ^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package agence-adeliom/sylius-happy-cms-plugin contains the following files

Loading the files please wait ...