A PHP Library to easily send push notifications with the Pushwoosh REST Web Services.

View project onGitHub

Total Downloads Latest Stable Version Build Status Coverage Status Code Climate License

First sample, creating a Pushwoosh message

// Create a Pushwoosh client
$pushwoosh = Pushwoosh::create()

// Create a request for the '/createMessage' Web Service
$request = CreateMessageRequest::create()
    ->addNotification(Notification::create()->setContent('Hello Jean !'));

// Call the REST Web Service
$response = $pushwoosh->createMessage($request);

// Check if its ok
if($response->isOk()) {
    print 'Great, my message has been sent !';
} else {
    print 'Oups, the sent failed :-('; 
    print 'Status code : ' . $response->getStatusCode();
    print 'Status message : ' . $response->getStatusMessage();
Easy, isn't it ?


The easiest way to install the library is to use composer and define the following dependency inside your composer.json file :

    "require": {
        "gomoob/php-pushwoosh": "~1.0"


Framework Integrations

If you have integrated php-pushwoosh into a popular PHP framework let us know !

About Gomoob

At Gomoob we build high quality software with awesome Open Source frameworks everyday. Would you like to start your next project with us? That's great! Give us a call or send us an email and we will get back to you as soon as possible !

You can contact us by email at or by phone number (+33)6 85 12 81 26 or (+33) 6 28 35 04 49.