NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1079 most downloaded on Packagist
FCM (Firebase Cloud Messaging) Notifications Driver for Laravel
Latest stable
6.2.0
Last release 1 months ago
05 Oct 2026
Release timing varies
gaps range from 2 weeks to 9 months
Some releases are documented
notes for 17 of 37 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
37 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Merge pull request #235 from laravel-shift/l13-compatibility
Merge pull request #235 from laravel-shift/l13-compatibility
Merge pull request #234 from jeromegamez/support-latest-firebase-pack…
Merge pull request #234 from jeromegamez/support-latest-firebase-pack…
Your coding agent can read these notes before it upgrades. Set up the MCP server →
This new release includes some new features and under the hood improvements.
This new release includes some new features and under the hood improvements.
FcmTopicChannelandroid and ios helpers on the message class to add platform-specific notification dataNothing published for this version
Bump kreait/laravel-firebase
Bump kreait/laravel-firebase
Merge pull request #213 from laravel-notification-channels/revert-212…
Merge pull request #213 from laravel-notification-channels/revert-212…
Nothing published for this version
Bump kreait/laravel-firebase version
Bump kreait/laravel-firebase version
Nothing published for this version
A collection of Kreait\Firebase\Messaging\MulticastSendReport is now returned from the channels send method, making the response available in the Illu
A collection of Kreait\Firebase\Messaging\MulticastSendReport is now returned from the channels send method, making the response available in the Illuminate\Notifications\Events\NotificationSent event.
This new major version includes breaking changes. We remove support for older versions of Laravel and PHP, adopt new PHP syntax, clean up a lot of boi…
This new major version includes breaking changes. We remove support for older versions of Laravel and PHP, adopt new PHP syntax, clean up a lot of boilerplate and improve test coverage. Support for using custom Firebase connections on-demand has also been greatly improved giving more control where required.
Please review the CHANGELOG and docs for changes, specifically related to:
FcmMessage object (new arguments and less resource classes), andThis version is a pretty substantial rewrite that removes a lot of complexity from the library, makes some features more consistent and increases test coverage.
FcmMessage and FcmNotification have changed to use named arguments,Many of the set* methods have been removed and replaced with public properties. The basics you can still use with ease - setting the properties of an FcmNotification and setting additional data. If you want to set more explicit options (iOS or Android configuration for example) you will use the custom method.
return new FcmMessage(notification: new FcmNotification(
title: 'Account Activated',
body: 'Your account has been activated.',
image: 'http://example.com/url-to-image-here.png'
))
->data(['data1' => 'value', 'data2' => 'value2'])
->custom([
'android' => [
'notification' => [
'color' => '#0A0A0A',
],
'fcm_options' => [
'analytics_label' => 'analytics',
],
],
'apns' => [
'fcm_options' => [
'analytics_label' => 'analytics',
],
],
]);
The way to change the FCM configuration on the fly now requires passing in an instance of Kreait\Firebase\Contract\Messaging. Set it up with your credentials and pass it into a message with usingClient.
public function toFcm(mixed $notifiable)
{
$client = app(\Kreait\Firebase\Contract\Messaging::class);
return FcmMessage::create()->usingClient($client);
}
Listen to the Illuminate\Notifications\Events\NotificationFailed event which will include each individual failure for report you to handle as you need.
Please re-review the documentation when upgrading to the latest version and make the changes necessary for your app.
Removed some built assets from the library
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix for "A message can only have one of the following targets" error by @mgsmus in https://github.com/laravel-notification-channels/fcm/pull/116
setData() method by @maximal in https://github.com/laravel-notification-channels/fcm/pull/114Full Changelog: https://github.com/laravel-notification-channels/fcm/compare/2.4.0...2.5.0
Support for version 4.0 of laravel-firebase by @dododedodonl in https://github.com/laravel-notification-channels/fcm/pull/98
Full Changelog: https://github.com/laravel-notification-channels/fcm/compare/2.3.1...2.4.0
chore: style fixes by @atymic in https://github.com/laravel-notification-channels/fcm/pull/101
Full Changelog: https://github.com/laravel-notification-channels/fcm/compare/2.3.0...2.3.1
Add support for Laravel 9.x by @marcroberts in https://github.com/laravel-notification-channels/fcm/pull/100
Full Changelog: https://github.com/laravel-notification-channels/fcm/compare/2.2.1...2.3.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Do an early return on empty tokens instead of throwing an exception. Fixes #18
Do an early return on empty tokens instead of throwing an exception. Fixes #18
Nothing published for this version
FCM API calls has been migrated from legacy HTTP to HTTP v1 (docs from Firebase here). This is a breaking change so notifications using v1.x should no…
FCM API calls has been migrated from legacy HTTP to HTTP v1 (docs from Firebase here). This is a breaking change so notifications using v1.x should not upgrade to v2.x of this package unless you plan on migrating your notification classes.
Expose notification Guzzle response objects
- Drop support for laravel < 5.5 (#5) - Fix zero index $tokens
Nothing published for this version
Nothing published for this version
One column per quarter.