bluetea/push-notifications
PHP library by BlueTea for sending push notifications. Provides a lightweight foundation to integrate push messaging into your application and manage notification delivery across supported providers.
laravel-notification-channels/onesignal or notifications packages instead.spatie/laravel-onesignal) offer better support.For Executives: "This lightweight, MIT-licensed package offers a quick way to integrate OneSignal push notifications into our [legacy/non-critical] system without reinventing the wheel. While not actively maintained, it’s a cost-effective stopgap for [specific use case, e.g., internal alerts or MVP features]. We’ll treat this as a temporary solution, with a clear roadmap to migrate to a modern alternative (e.g., Laravel Notifications) once we upgrade our tech stack. The risk is minimal for [low-risk scenario], and the trade-off is justified by [budget/time constraints]."
For Engineering: *"The bluetea/push-notifications package is a thin wrapper for OneSignal’s API, ideal for quick integration in a PHP 5.4/Laravel 4.x environment. Key pros:
For Developers:
*"This package is a direct HTTP client for OneSignal’s API, with methods like sendNotification() and config for auth tokens. Example:
$push = new BlueTea\PushNotifications\PushNotifications('ONESIGNAL_APP_KEY');
$push->sendNotification([
'contents' => ['en' => 'Hello!'],
'include_player_ids' => ['player_id_123']
]);
laravel-notification-channels/onesignal for Laravel 5.5+."*How can I help you explore Laravel packages today?