aropixel/page-bundle
Composer 安装命令:
composer require aropixel/page-bundle
包简介
Gestion de page pour admin Aropixel
README 文档
README
Aropixel Page Bundle
A page management module for Symfony, built as a companion to Aropixel Admin Bundle.
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-bundleinstalled 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
- Installation
- Usage and page types — page builder config, fixed pages, front-end rendering, events
- Custom block types
- Entity customization
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.
aropixel/page-bundle 适用场景与选型建议
aropixel/page-bundle 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 5.88k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2019 年 06 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「aropixel page bundle」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 aropixel/page-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 aropixel/page-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 aropixel/page-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table.
Plug-ins for DataTables
2lenet/EasyAdminPlusBundle
The bundle for easy using json-rpc api on your project
This package helps you use bitwise enums in PHP and Laravel.
Provide a way to secure accesses to all routes of an symfony application.
统计信息
- 总下载量: 5.88k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-06-12