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');
YES
1
2
3
PushNotification::app('your.appname')
	->to('yourdevicetokengoesinthismethodcall')
	->send('Hello World');
Otherwise you'll get something like this:
Adapter Apns does not supports tokens device
Update (15/07/2014) Also, make sure you do not include the < and > characters in your token. It seems that leaving in <s and >s is allowed in some Ruby Gems I've tried but not in this Laravel package.