Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Push Notification

Laravel Push Notification Laravel Package

turbo124/laravel-push-notification

View on GitHub
Deep Wiki
Context7

Laravel package to send push notifications to mobile devices (apns, gcm)

Frequently asked questions about Laravel Push Notification
What is turbo124/laravel-push-notification used for?
It is a Laravel package for sending push notifications to mobile devices through Apple Push Notification service and Google Cloud Messaging. It is intended for backend applications that need to notify iOS and Android devices from Laravel code. The package wraps provider-specific sending behind a Laravel-oriented API.
How do I install turbo124/laravel-push-notification with Composer?
Install it with composer require turbo124/laravel-push-notification. If your Laravel version does not use package auto-discovery, add the package service provider and any facade alias to config/app.php. Check the repository README for the exact provider class and any configuration publish command.
Which Laravel versions does this package support?
Compatibility depends on the package composer.json constraints, so check those before installing. This package targets an older Laravel-era push API stack, so test it against your Laravel version rather than assuming support. For current Laravel releases, verify maintenance status or choose a maintained alternative.
Does it support both APNs and GCM?
Yes, the package is described as sending push notifications to mobile devices through APNs and GCM. APNs covers iOS devices, while GCM was Google's legacy Android push service. Remember that GCM has been superseded by Firebase Cloud Messaging for new Android integrations.
How do I configure APNs certificates and the GCM API key?
You normally publish the package configuration and set APNs certificate or key details plus the GCM API key through environment variables. Keep certificates and server keys out of version control, and use separate credentials for sandbox and production. Consult the README for the exact config keys because they can vary by package version.
Can I send a push notification to multiple devices at once?
The package sends to device tokens, and batch behavior depends on the specific driver methods and provider payload limits. Check the README for methods that accept arrays of tokens, and chunk large recipient lists to avoid timeouts. For high-volume sends, queue the work instead of sending inside a web request.
How can I test push notifications without real devices?
Use APNs sandbox credentials and test Android credentials, then send to known test device tokens. For automated tests, mock the push client or fake the notification layer so your test suite never contacts Apple or Google. Keep production credentials out of test environments.
Is GCM still supported by Google?
No, Google deprecated GCM and replaced it with Firebase Cloud Messaging. A package that still targets GCM endpoints may not work with new Android projects, and old GCM credentials may be unusable. Plan to migrate Android sending to FCM or use a maintained package.
What are alternatives to this Laravel push notification package?
Common alternatives include Laravel's notification system with custom channels, Firebase Cloud Messaging SDKs such as kreait/firebase-php, and dedicated APNs or FCM libraries. Choose based on whether you need a unified Laravel API or direct control over each provider. For new projects, prefer actively maintained packages with current FCM and APNs support.
Is turbo124/laravel-push-notification actively maintained and production-ready?
Check the GitHub repository for recent commits, open issues, release tags, and Composer constraints before using it in production. Single-maintainer packages can be useful but may lag behind provider API changes. Pin the version, monitor deprecations such as the GCM shutdown, and keep a migration path.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console