campusdomar/pmk2-cmar-live-bundle
Symfony/Laravel Compatibility: The bundle is built for Symfony (not Laravel natively), but Laravel’s Symfony integration (via symfony/http-kernel) allows partial adoption. Key considerations:
HttpKernel can host Symfony bundles, but requires explicit configuration (e.g., Kernel::handle() overrides).pumukit/core-bundle) may clash with Laravel’s ecosystem (e.g., Doctrine, Twig). A composer merge-plugin or custom vendor namespace may be needed.Symfony\Component\EventDispatcher\EventDispatcher aliasing).Core Functionality:
Symfony\Bridge\Laravel\BridgeServiceProvider (if maintained).spatie/laravel-ffmpeg).beyondcode/laravel-websockets).laravel-livewire + ffmpeg).laravel-vod)?| Phase | Action | Tools/Dependencies |
|---|---|---|
| Assessment | Audit PuMuKIT2’s live-streaming/chat stack vs. Laravel alternatives. | composer why, symfony/var-dumper |
| Pilot | Deploy PuMuKIT2 as a Symfony micro-service alongside Laravel. | Docker, Symfony CLI, Laravel Horizon |
| Hybrid | Expose PuMuKIT2 APIs via API Platform or Lumen, consume in Laravel. | Symfony API Platform, Laravel Sanctum |
| Reimplementation | Migrate chat/live features to Laravel if PuMuKIT2 is abandoned. | Laravel Echo, Livewire, FFmpeg |
beyondcode/laravel-websockets can replace it.Container. Requires custom binding.Phase 1: API Integration
Phase 2: Hybrid Kernel
Symfony\Bridge\Laravel\BridgeServiceProvider.Phase 3: Feature Replacement
composer.json files, separate deployments).| Failure Point | Impact | Mitigation |
|---|---|---|
| PuMuKIT2 Bundle Breaks | Live-streaming/chat fails | Fallback to Laravel reimplementation |
| Symfony-Laravel Conflict | Dependency collisions (e.g., Doctrine) | Isolate in Docker, use merge-plugin |
| WebSocket Latency | Chat delays during high load | Load test with k6, optimize Redis |
| Database Schema Drift | Eloquent/PuMuKIT2 ORM conflicts | Shared DBAL layer, strict migration tests |
How can I help you explore Laravel packages today?