With this handy package you can send iOS and Android push notifications from your Laravel app: davibennun/laravel-push-notification.
Following the Installation and Configuration instructions get you up and running but bear this in mind:NO
1 2 3 PushNotification::app('your.appname') ->to('your device token goes in this method call') ->send('Hello World');
Otherwise you'll get something like this: Update (15/07/2014) Also, make sure you do not include the
1 2 3 PushNotification::app('your.appname') ->to('yourdevicetokengoesinthismethodcall') ->send('Hello World');
>characters in your token. It seems that leaving in
>s is allowed in some Ruby Gems I've tried but not in this Laravel package.