Join 25,000+ Laravel Developers and join the free Laravel Newsletter
Laravel Packages / June 24, 2014

Laravel Push Notification

A Laravel wrapper around NotificationPusher to send notifications to mobile devices.

PushNotification::app('appNameIOS')
            ->to($deviceToken)
            ->send('Hello World, i`m a push message');

Currently the supported devices are:

  • APNS (Apple)
  • GCM (Android)

This appeared first on Laravel News
Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.