Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 26 | All time: 11,185 This week: 455 |
Version | License | PHP version | Categories | |||
laravel-onesignal 1.0.0 | MIT/X Consortium ... | 5 | PHP 5, Wireless and Mobile, Libraries, W... |
Description | Author | |
This package can access OneSignal API from a Laravel application. |
Install with composer:
composer require thiagoprz/laravel-onesignal
php artisan vendor:publish --provider=Thiagoprz\Onesignal\OnesignalServiceProvider
| Method | STATUS | Tests | |----------------------|-------------|------| | Create Notification | In Progress | No | | Cancel Notification | Todo | No | | View Apps | Todo | No | | View an App | Done | Yes | | Create an App | Todo | No | | Update an App | Todo | No | | View Devices | Todo | No | | View Device | Todo | No | | Add a Device | Todo | No | | Edit Device | Todo | No | | View Notification | Todo | No | | View Notifications | Todo | No | | Notification History | Todo | No | | Create Segments | Todo | No | | Delete Segments | Todo | No | | View Outcomes | Todo | No | | Delete Player Record | Todo | No |
Replace your app id, user key and app key with the right values:
ONESIGNAL_APP_ID={APP_ID} ONESIGNAL_API_APP_KEY={YOUR_APP_KEY} ONESIGNAL_API_USER_KEY={YOUR_USER_ID} php artisan test
For more information on keys and Ids please see https://documentation.onesignal.com/docs/accounts-and-keys
This package is licensed under the MIT license.
Files (24) |
File | Role | Description | ||
---|---|---|---|---|
src (1 file, 6 directories) | ||||
tests (1 file, 1 directory) | ||||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
License.txt | Doc. | Documentation | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (24) | / | src |
File | Role | Description | ||
---|---|---|---|---|
config (1 file) | ||||
Enums (1 file) | ||||
Exceptions (2 files) | ||||
Interfaces (3 files) | ||||
OneSignal (3 files, 1 directory) | ||||
Traits (1 file) | ||||
OnesignalServiceProvider.php | Class | Class source |
Files (24) | / | src | / | Exceptions |
File | Role | Description |
---|---|---|
OnesignalClientException.php | Class | Class source |
OnesignalException.php | Class | Class source |
Files (24) | / | src | / | Interfaces |
File | Role | Description |
---|---|---|
AppsInterface.php | Class | Class source |
ClientInterface.php | Class | Class source |
NotificationInterface.php | Class | Class source |
Files (24) | / | src | / | OneSignal |
File | Role | Description | ||
---|---|---|---|---|
Responses (3 files) | ||||
Apps.php | Class | Class source | ||
Client.php | Class | Class source | ||
Notification.php | Class | Class source |
Files (24) | / | src | / | OneSignal | / | Responses |
File | Role | Description |
---|---|---|
AppResponse.php | Class | Class source |
ClientResponse.php | Class | Class source |
NotificationResponse.php | Class | Class source |
Files (24) | / | tests | / | Unit | / | Client |
File | Role | Description |
---|---|---|
GetTest.php | Class | Class source |
KeyTest.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.