redjanym/php-firebase-cloud-messaging
A lightweight PHP library for sending Firebase Cloud Messaging push notifications. Compose notification and data payloads and target device tokens, groups, or topics from Laravel or any PHP application.
PushGateway interface and a Laravel custom notification channel, but package classes should not leak into domain code. Keep payload construction, targeting, and transport behind an internal boundary so FCM-specific models do not spread across the application.config/services.php or secrets manager, queued jobs for dispatch. Confirm PHP/Laravel version constraints, PSR-18/Guzzle compatibility, and whether Laravel package discovery is supported. A one-day spike should validate authentication and a real send to Android, iOS, and web clients.messages:send and OAuth2 token caching/refresh? Does it return per-token results for multicast sends? Does it enforce the 500-token multicast limit and 4 KB payload limit? How does it classify retryable versus terminal errors? Does it support APNs and web push platform options? Are there tests, CI, static analysis, and a security policy? Who maintains it, and what is the release cadence? Does it support token pruning and invalid-registration-token handling?App\Services\Push\PushGateway. Use a custom Laravel notification channel for developer ergonomics, but route all sends through the gateway. Keep FCM credentials in a secrets manager, not .env files committed to source.kreait/firebase-php plus google/auth, or fork the transport layer.PushGateway adapter and Laravel notification channel. 4) Add queueing, retry/backoff, batch limits, and invalid-token cleanup. 5) Add observability and runbooks. 6) Roll out by platform and cohort, starting with internal test devices.How can I help you explore Laravel packages today?