elasticms/core-bundle
CoreBundle is the foundational Symfony bundle at the heart of ElasticMS Admin, providing the shared services, entities, and admin tooling that power the ElasticMS content management platform built on Elasticsearch.
elasticms/core-bundle serves as the core backend for ElasticMS Admin, a CMS-like admin interface for Laravel. It aligns well with projects requiring modular, extensible admin panels (e.g., SaaS platforms, enterprise dashboards, or content-heavy applications).symfony/bundle). Assumes a Symfony-based Laravel (or hybrid) architecture.7.2.0).symfony/console, symfony/http-foundation).AppServiceProvider or a custom CoreBundleServiceProvider.| Risk Area | Severity | Mitigation |
|---|---|---|
| Symfony-Laravel Friction | High | Test with symfony/console and symfony/http-kernel in Laravel. |
| ORM Lock-in | Medium | Abstract Doctrine calls behind interfaces for Eloquent compatibility. |
| Frontend Coupling | Medium | Decouple UI components via API (e.g., expose admin routes as JSON endpoints). |
| Version Skew | High | Pin elasticms/core-bundle to a stable minor version (e.g., 7.x). |
| Documentation Gaps | Medium | Supplement with internal RFCs for Laravel-specific adaptations. |
| Performance Overhead | Low | Profile with Laravel Telescope or Blackfire. |
public/index.php).symfony/console, symfony/http-kernel).spatie/laravel-graphql) to decouple frontend.Phase 1: Proof of Concept (2–4 weeks)
elasticms/core-bundle and verify:
Phase 2: Core Integration (4–8 weeks)
routing.yml) with Laravel equivalents.Phase 3: Extensions & Optimization (2–4 weeks)
| Component | Compatibility | Workaround |
|---|---|---|
| Symfony Console | High (via symfony/console package) |
Use Artisan commands directly. |
| Doctrine ORM | Medium (conflict with Eloquent) | Abstract ORM calls or use a dual-ORM setup. |
| Twig Templates | High (if using Laravel Mix/Vite) | Compile Twig to Blade or use Laravel’s Twig bridge. |
| Symfony Security | Low (conflict with Laravel Auth) | Build a custom guard or use Sanctum for API auth. |
| Event System | High (Symfony Events work in Laravel) | Use Laravel Events alongside Symfony ones. |
| Validation | High (Symfony Validator integrates) | Prefer Laravel’s Form Requests for consistency. |
elasticms/core-bundle → Verify CRUD → Test Auth → Integrate UI.How can I help you explore Laravel packages today?