Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Page Bundle Laravel Package

aropixel/page-bundle

Aropixel Page Bundle brings multilingual page management to Symfony: three page types (CKEditor HTML, drag-and-drop block builder, JSON forms), protected system pages, SEO fields, scheduled publishing, and a PageSavedEvent for cache invalidation. Requires aropixel/admin-bundle.

View on GitHub
Deep Wiki
Context7

Features

  • Three page types: standard HTML (CKEditor), visual page builder (JSON → pre-rendered HTML), and structured JSON forms
  • Visual page builder — block-based drag-and-drop editor with sections, rows, columns, text, images, buttons, titles, and more; HTML is pre-rendered at save time so front-end display is zero-cost
  • Custom block types — extend the page builder with your own blocks via a simple JS + YAML registration
  • Fixed / protected pages — declare non-deletable system pages (homepage, contact…) with a static code for reliable lookups
  • Multilingual — full i18n support via Gedmo Translatable; per-locale slugs, content, and pre-rendered HTML. Interface available in French, English, German, Spanish, Italian and Czech.
  • SEO fields — meta title, meta description, and slug per locale
  • Publication scheduling — online/offline status with optional date range
  • PageSavedEvent — dispatched after every page builder save; use it to invalidate Varnish, CDN, Redis, or any cache layer

Requirements

  • PHP 8.2+
  • Symfony 6.4 or 7.x
  • aropixel/admin-bundle installed and configured

Quick start

composer require aropixel/page-bundle

Import the routes in config/routes.yaml:

aropixel_page:
    resource: "@AropixelPageBundle/src/Resources/config/routes.yaml"
    prefix: /admin/page

Run migrations:

php bin/console make:migration
php bin/console doctrine:migrations:migrate

See the full installation guide for entity extension, Doctrine mapping, and bundle configuration.


Page types

Type Storage Use case
TYPE_DEFAULT htmlContent Simple pages edited via CKEditor
TYPE_CUSTOM jsonContent + htmlContent (pre-rendered) Visual page builder
Custom JSON jsonContent Structured forms with named fields (e.g. contact page with phone/address)

For TYPE_CUSTOM, the page builder JSON payload is rendered to HTML at save time and stored in htmlContent. Front-end display is a simple {{ page.htmlContent|raw }} — no rendering overhead per request.


Documentation


Contributing

JavaScript assets

The JavaScript source lives in assets/. The src/Resources/public/js/ directory is generated from it for Webpack Encore compatibility and must be kept in sync.

After any change to files in assets/, run:

npm run build

Then commit both assets/ and src/Resources/public/js/ together. Pull requests that modify assets/ without rebuilding will be rejected by CI.


License

Aropixel Page Bundle is released under the MIT License.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource