admin-platform/admin-bundle
Symfony bundle for building an admin platform using Sylius components. Install via Composer and register PlatformAdminBundle in AppKernel to add admin tooling and infrastructure to your Symfony application.
sylius/resource-bundle, sylius/doctrine-bundle), making it a strong fit for Symfony-based projects with CRUD-heavy admin panels. If the target application already uses Sylius, integration is low-effort; otherwise, dependency overhead may introduce architectural friction.ResourceInterface)? If not, how will mapping work?composer require admin-platform/admin-bundle "dev-master" in a staging environment.sylius/resource-bundle version mismatches).PlatformAdminBundle to AppKernel.php (or config/bundles.php for Symfony 4+).config.yml or YAML.# config/packages/platform_admin.yaml
platform_admin:
resources:
- App\Entity\Product
- App\Entity\User
templates:
index: "@PlatformAdmin/CRUD/index.html.twig"
ResourceInterface or extend PlatformAdminBundle's base classes.use Platform\Bundle\AdminBundle\Model\AdminAwareInterface;
class Product implements AdminAwareInterface { ... }
PlatformAdminBundle's security voters or customize the firewall to integrate with existing auth.User, LogEntry).auto-wiring and config/bundles.php are updated.PlatformAdminBundle's base templates.sylius/resource-bundle accordingly.| Phase | Tasks | Dependencies |
|---|---|---|
| Pre-Integration | Audit Symfony/Sylius version compatibility. | Dev environment setup. |
| Dependency Setup | Install bundle, resolve conflicts, update composer.json. |
composer.lock validation. |
| Configuration | Configure platform_admin.yaml, routing, security. |
Entity classes. |
| Entity Mapping | Extend entities with AdminAwareInterface. |
Doctrine entities. |
| UI Customization | Override Twig templates, add CSS/JS. | Frontend build tools (if applicable). |
| Testing | Manual QA for CRUD flows, edge cases (e.g., soft-deletes). | Test data setup. |
| Deployment | Roll out to staging, monitor logs for Sylius/Doctrine warnings. | CI/CD pipeline. |
sylius_resource_metadata). Monitor:
sylius_cache).| Risk | Mitigation Strategy |
|---|---|
| Bundle abandonment | Fork the repo early; contribute fixes upstream. |
| Symfony version mismatch | Pin admin-platform/admin-bundle |
How can I help you explore Laravel packages today?