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.
PageSavedEvent — dispatched after every page builder save; use it to invalidate Varnish, CDN, Redis, or any cache layeraropixel/admin-bundle installed and configuredcomposer 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.
| 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.
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.
Aropixel Page Bundle is released under the MIT License.
How can I help you explore Laravel packages today?