bluetea/push-notifications-bundle
PushNotificationClient) as a standalone Laravel package.TaggedService behavior using Laravel’s service tags or bindings.config.yml to Laravel’s config/push_notifications.php.bluetea/push-notifications library may rely on Symfony components (e.g., HttpKernel, EventDispatcher) that don’t exist in Laravel.bluetea/push-notifications (the core library) work standalone? If yes, could it be wrapped in a Laravel package?spatie/laravel-newsletter, mattstauffer/laravel-firebase) that meet requirements?spatie/laravel-firebase, laravel-notification-channels/onesignal) for push notifications.bluetea/push-notifications is framework-agnostic, extract it and build a Laravel service provider around it.| Step | Action | Effort | Risk |
|---|---|---|---|
| 1 | Assess Core Library | Low | Low |
Fork bluetea/push-notifications and test standalone usage. |
|||
| 2 | Build Laravel Wrapper | High | Medium |
| Create a Laravel service provider, facade, and config publisher. | |||
| 3 | Replace Symfony-Specific Logic | Medium | High |
Adapt TaggedService behavior to Laravel’s bind() or tags() system. |
|||
| 4 | Test with Providers | Medium | Medium |
| Verify FCM, APNS, etc., integration works in Laravel’s context. | |||
| 5 | Deprecate Symfony2 Bundle | Low | Low |
| If migrating away from Symfony2, replace the bundle entirely. |
Symfony\Component\HttpKernelSymfony\Component\DependencyInjectionSymfony\Component\Config
→ These must be abstracted or replaced.config.yml → Convert to Laravel’s config/push_notifications.php.EventDispatcher → Replace with Laravel’s Events system.bluetea/push-notifications standalone.bus:queue for async notifications.jobs table can handle volume.| Scenario | Impact | Mitigation |
|---|---|---|
| Symfony-Specific Code Fails | Notifications stop working. | Fallback to a direct SDK call (e.g., Firebase::send). |
| Provider API Changes | Breaks notifications. | Use webhook validation and retries. |
| Laravel Cache Issues | Configuration not loaded. | Use config:cache and environment-based fallbacks. |
| High Volume Overload | Queue timeouts. | Implement batch processing and circuit breakers. |
| Security Vulnerabilities | Exploitable endpoints. | Audit the underlying library and rate-limit APIs. |
How can I help you explore Laravel packages today?