agence-adeliom/easy-gutenberg-bundle
Integrate WordPress’s Gutenberg editor into Symfony EasyAdmin. Add a GutenbergField to CRUD forms, use the provided form theme, and generate custom blocks via a console maker command. Compatible with Symfony 5.4–7.x and PHP 8.0.2+.
3.x), ensuring broad compatibility but requiring version alignment with existing projects.@wordpress/editor JS library), introducing frontend dependencies that may conflict with existing JS tooling (e.g., Webpack, Vite).@wordpress/editor (~500KB JS bundle). Must integrate with:
GutenbergField to CRUD controllers).@wordpress/editor without conflicts.composer require agence-adeliom/easy-gutenberg-bundle).config/packages/easy_admin.yaml to enable Gutenberg fields.use AgenceAdeliom\EasyGutenbergBundle\Field\GutenbergField;
$crud->addField(GutenbergField::new('content')->setLabel('Gutenberg Content'));
Page).JSONB in PostgreSQL).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Gutenberg JS bundle fails to load | Broken editor in admin panel | Fallback to textarea + error logging |
| WordPress updates break compatibility | Editor stops working | Pin @wordpress/editor version |
| JSON serialization errors | Saved content corrupt | Validate entity mappings |
| EasyAdmin cache conflicts | Stale Gutenberg content displayed | Invalidate cache on content updates |
| PHP 8.2+ compatibility issues | Bundle fails to install | Downgrade PHP or fork the package |
How can I help you explore Laravel packages today?