elasticms/submission-bundle
EMS SubmissionBundle handles form submissions from the EMS FormBundle. It provides the backend workflow for processing submitted data and is documented in the EMS project site, with issues and pull requests managed in the elasticMS monorepo.
symfony/event-dispatcher. This allows TPMs to design extensible pipelines (e.g., triggering notifications, analytics, or queue jobs) without tightly coupling submission logic to controllers.FormRequest, Request), integration requires significant abstraction work (e.g., middleware, service wrappers).Illuminate\Container is incompatible with Symfony’s DependencyInjection. Mitigation requires custom adapters or standalone Symfony components.Validator; Laravel’s FormRequest validation may need translation layers.| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| Symfony-Laravel Integration | High | Use symfony/dependency-injection as a standalone component; create container adapters. |
| EMS FormBundle Dependency | High | Evaluate cost of adopting EMS FormBundle vs. building custom middleware/services. |
| Low Adoption/Documentation | Medium | Allocate time for PoC testing; prepare for forking or extending core functionality. |
| Event System Bridging | Medium | Implement a facade to translate Symfony events to Laravel events (e.g., submission.created). |
| Performance Overhead | Low | Benchmark submission processing; optimize via Laravel queues for async workflows. |
| Failure Modes | Medium | Design circuit breakers (e.g., fallback to raw Request handling if bundle fails). |
DependencyInjection, Validator) require isolation or adaptation.Request handling if the bundle fails.| Component | Compatibility | Mitigation |
|---|---|---|
| Symfony DependencyInjection | ❌ Incompatible with Laravel’s container | Use standalone symfony/dependency-injection or create a custom adapter. |
| Symfony Event Dispatcher | ✅ Compatible (with bridging) | Wrap Symfony events in Laravel events via a facade (e.g., SubmissionEvent). |
| EMS FormBundle | ✅ Required for full integration | Adopt EMS FormBundle or build a data adapter for existing forms. |
| Laravel Validation | ⚠️ Partial (Symfony Validator) | Extend bundle configs to support Laravel validation rules or use a hybrid approach. |
| Laravel Routing | ⚠️ Partial (Symfony Router assumed) | Use middleware to delegate to bundle routes or prefix routes (e.g., /ems/submit). |
| Database/Storage | ✅ Flexible (configurable) | Extend configs to support Eloquent models or custom storage logic. |
dependency-injection, event-dispatcher) as standalone dependencies.config/bundles.php (Symfony) or config/app.php (Laravel).composer.json and monitor Symfony’s release cycle.How can I help you explore Laravel packages today?