Send push notifications between your users in minutes — no Composer, no bloat, just one clean PHP file.
Built on the latest verified OneSignal REST API v2, this class is perfect for chat apps, social platforms, marketplaces, or any PHP project that needs real-time user notifications.
WHAT YOU GET- OneSignal.php — main class, clean OOP, ~200 lines- Admin Panel — ready-made PHP dashboard to send notifications from a UI- Full HTML Documentation — open in browser, code examples included- 5 Example Files — copy-paste ready for every use case- README.txt — quick start guide
REQUIREMENTS- PHP 8.0 or higher- cURL extension (enabled by default on most servers)- Free OneSignal account at onesignal.com
QUICK STARTrequire_once 'OneSignal.php';$push = new OneSignal('APP_ID', 'API_KEY');
if ($push->ok()) {echo 'Sent: ' . $push->lastResponse()['id'];}
API VERIFIEDAll endpoints, headers and parameters have been tested against the official OneSignal REST API v2 documentation.- Base URL: https://api.onesignal.com- Auth: Authorization: Key- Targeting: include_aliases with external_id
Broadcast to multiple users (up to 20,000 per request)
Auto-retry on timeout or server error
Logger support — attach your own logging callback
Link & unlink devices on login / logout
You have to login to leave a review!
All Reviews
No Review!
What type of support is included? Verified source code Free support included Download code immediately Quality guarantee for your satisfaction Support: info@sellanycode.com
You have to purchase this item to get support!
You have to login to ask a question!
All Questions
No Question!
$25
Verified source code
Join 35189+ buyers which trust us!
Download code immediately
100% Guarantee For Item! Satisfaction guarantee policy.