dbp/relay-base-publication-bundle
Messenger, HttpClient).RelayPublicationInterface).| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| Symfony-Laravel Gap | High | Evaluate Symfony Bridge or rewrite core logic in Laravel. |
| Undocumented APIs | High | Fork/modify to add Laravel-specific traits or interfaces. |
| Event System Mismatch | Medium | Map Symfony’s Messenger to Laravel’s queues or use a shared message broker. |
| License (AGPL-3.0) | Medium | Ensure compliance if bundling in proprietary software. |
| Maturity | High | Expect bugs; plan for custom extensions. |
| Component | Laravel Compatibility | Workaround Needed? |
|---|---|---|
| Symfony Bundle | ❌ No | Requires Symfony app or bridge layer. |
| Messenger Component | ❌ No | Replace with Laravel Queues or RabbitMQ. |
| Relay API Contracts | ❌ No | Abstract or rewrite for Laravel’s HTTP layer. |
| Doctrine DBAL | ✅ (Partial) | Use Laravel’s Query Builder or Eloquent. |
| PSR-15 Middleware | ✅ Yes | Can integrate via Laravel’s middleware. |
Option 1: Hybrid Symfony + Laravel
Option 2: Laravel Port
laravel-relay-publication).Messenger → Laravel Queues.HttpClient → Laravel HttpClient.Option 3: Feature-by-Feature Replacement
composer.json).EventDispatcher → Laravel’s Events (needs mapping).Messenger → Laravel Queues should be comparable, but benchmark.| Scenario | Impact | Mitigation |
|---|---|---|
| Symfony-Laravel Bridge Fails | Integration breaks | Fallback to REST/gRPC. |
| Queue Backlog | Delayed publications | Scale workers, use dead-letter queues. |
| Relay Contract Mismatch | API failures | Add validation layers. |
| Database Schema Drift | Publication corruption | Use migrations + CI checks. |
| License Compliance | Legal risk | Audit dependencies, consider MIT/LGPL alternatives. |
How can I help you explore Laravel packages today?