apility/laravel-fcm
A Laravel package for sending Firebase Cloud Messaging (FCM) push notifications to Android and iOS devices, with a simple API for targeting devices and topics, building payloads, and integrating FCM into Laravel applications.
Architecture fit
Fcm transport exposes sendTo(tokens, options, payload), and everything above it (queues, Notification channels, templating, token storage) is left to the application.bootstrap/app.php wiring, which is normal for the ecosystem but is one more artifact to maintain.Integration feasibility
--ignore-platform-reqs workarounds that trade install-time friction for runtime deprecations.composer require as the default expected outcome rather than a surprise.Technical risk
/fcm/send-style endpoint, multicast token arrays) matches Google's legacy FCM HTTP API, which was deprecated in 2023 and shut down in mid-2024. If the pinned release targets legacy only, the package is functionally dead regardless of code quality, and the composite score of 1.06 should be read as consistent with that.Key questions for the team
Stack fit
Migration path
kreait/laravel-firebase (Admin SDK over HTTP v1) or laravel-notification-channels/fcm, both of which give first-class Notification channel support and OAuth2 token handling.messages:send endpoint with a cached OAuth2 bearer token. Given the package's size, this is often cheaper than adopting a heavier dependency.PushSender contract first.Compatibility work
app('fcm')). Container lookups are the expensive ones — they cannot be swapped without touching every caller.data values must be strings, notification/android/apns blocks are restructured, and topic conditions use different syntax.Sequencing
PushSender interface and wrap the existing package as the first adapter — behavior-preserving, no endpoint change.Maintenance
Support
Scaling
UNREGISTERED/INVALID_ARGUMENT), and token hygiene ourselves.Failure modes to instrument for
Ramp-up
Recommended disposition as TPM
How can I help you explore Laravel packages today?