This package may be helpful for sending ionic push notifications
Via Composer
$ composer require dmitrovskiy/ionic-push-php
$pusher = new Dmitrovskiy\IonicPush\PushProcessor(
'APP_ID',
'API_SECRET_ID'
);
$devices = array(
//...
);
$notification = array(
//...
);
$pusher->notify($devices, $notification);
The MIT License (MIT). Please see License File for more information.