{"id":13624125,"url":"https://github.com/gomoob/php-pushwoosh","last_synced_at":"2025-04-07T11:06:57.436Z","repository":{"id":17205851,"uuid":"19974285","full_name":"gomoob/php-pushwoosh","owner":"gomoob","description":"A PHP Library to easily send push notifications with the Pushwoosh REST Web Services.","archived":false,"fork":false,"pushed_at":"2020-10-06T06:26:20.000Z","size":2348,"stargazers_count":66,"open_issues_count":19,"forks_count":38,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-31T10:06:19.237Z","etag":null,"topics":["gomoob","notifications","php","php-api","php-library","php-pushwoosh","push","pushwoosh"],"latest_commit_sha":null,"homepage":"http://gomoob.github.io/php-pushwoosh","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gomoob.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-20T08:59:56.000Z","updated_at":"2025-03-09T00:51:16.000Z","dependencies_parsed_at":"2022-08-27T16:41:48.788Z","dependency_job_id":null,"html_url":"https://github.com/gomoob/php-pushwoosh","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomoob%2Fphp-pushwoosh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomoob%2Fphp-pushwoosh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomoob%2Fphp-pushwoosh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomoob%2Fphp-pushwoosh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gomoob","download_url":"https://codeload.github.com/gomoob/php-pushwoosh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640462,"owners_count":20971557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gomoob","notifications","php","php-api","php-library","php-pushwoosh","push","pushwoosh"],"created_at":"2024-08-01T21:01:39.056Z","updated_at":"2025-04-07T11:06:57.415Z","avatar_url":"https://github.com/gomoob.png","language":"PHP","readme":"# php-pushwoosh\n\n\u003e A PHP Library to easily send push notifications with the Pushwoosh REST Web Services.\n\n[![Total Downloads](https://img.shields.io/packagist/dt/gomoob/php-pushwoosh.svg?style=flat-square)](https://packagist.org/packages/gomoob/php-pushwoosh) \n[![Latest Stable Version](https://img.shields.io/packagist/v/gomoob/php-pushwoosh.svg?style=flat-square)](https://packagist.org/packages/gomoob/php-pushwoosh) \n[![Build Status](https://img.shields.io/travis/gomoob/php-pushwoosh.svg?style=flat-square)](https://travis-ci.org/gomoob/php-pushwoosh)\n[![Coverage](https://img.shields.io/coveralls/gomoob/php-pushwoosh.svg?style=flat-square)](https://coveralls.io/r/gomoob/php-pushwoosh?branch=master)\n[![Code Climate](https://img.shields.io/codeclimate/github/gomoob/php-pushwoosh.svg?style=flat-square)](https://codeclimate.com/github/gomoob/php-pushwoosh)\n[![License](https://img.shields.io/packagist/l/gomoob/php-pushwoosh.svg?style=flat-square)](https://packagist.org/packages/gomoob/php-pushwoosh)\n\n## First sample, creating a Pushwoosh message\n\n```php\n// Create a Pushwoosh client\n$pushwoosh = Pushwoosh::create()\n    -\u003esetApplication('XXXX-XXX')\n    -\u003esetAuth('xxxxxxxx');\n\n// Create a request for the '/createMessage' Web Service\n$request = CreateMessageRequest::create()\n    -\u003eaddNotification(Notification::create()-\u003esetContent('Hello Jean !'));\n\n// Call the REST Web Service\n$response = $pushwoosh-\u003ecreateMessage($request);\n\n// Check if its ok\nif($response-\u003eisOk()) {\n    print 'Great, my message has been sent !';\n} else {\n    print 'Oups, the sent failed :-('; \n    print 'Status code : ' . $response-\u003egetStatusCode();\n    print 'Status message : ' . $response-\u003egetStatusMessage();\n}\n```\n\nEasy, isn't it ? \n\n## Documentation\n\n * [Documentation](http://gomoob.github.io/php-pushwoosh) \n * [How to Contribute](http://gomoob.github.io/php-pushwoosh/contribute.html)\n\n## Framework Integrations\n - **Laravel** - https://github.com/schimpanz/Laravel-Pushwoosh\n - **Symfony 2** - https://github.com/Prezent/pushwoosh-bundle\n\nIf you have integrated php-pushwoosh into a popular PHP framework let us know !\n\n## About Gomoob\n\nAt [Gomoob](https://www.gomoob.com) we build high quality software with awesome Open Source frameworks everyday. Would \nyou 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 \nyou as soon as possible !\n\nYou can contact us by email at [contact@gomoob.com](mailto:contact@gomoob.com) or by phone number \n[(+33) 6 85 12 81 26](tel:+33685128126) or [(+33) 6 28 35 04 49](tel:+33685128126).\n\nVisit also http://gomoob.github.io to discover more Open Source softwares we develop.\n","funding_links":[],"categories":["Table of Contents","通知 Notifications","目录","PHP"],"sub_categories":["Notifications","通知 Notifications"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgomoob%2Fphp-pushwoosh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgomoob%2Fphp-pushwoosh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgomoob%2Fphp-pushwoosh/lists"}