This is a straightforward OneSignal wrapper library designed for Laravel.
Via Composer
$ composer require fowitech/laravel-onesignal
Publish the config file
$ php artisan vendor:publish --tag="fowitech-onesignal"
In your code just use it like this.
onesignal()->message("this message")->to(['Number 1', 'Number 2'])->send();
composer test