3 months ago
We are happy to announce the release of the Pushpad PHP SDK v3, a major rewrite of the PHP library that brings full API access (not just sending notifications) within your PHP apps.
Up until now, the official PHP library supported only the Notifications endpoints of the Pushpad API (i.e. sending push messages).
With v3, you can now access all API endpoints (Subscriptions, Projects, Senders, etc.), just like with our REST API .
This makes it far more powerful for managing your push infrastructure from PHP. It also enables advanced automations that were not possible before.
For example, you can find, count or update subscriptions from server-side. You can detect if a user is subscribed or not using PHP. You can list sent notifications and get their stats (making it easy to build custom dashboards). You can also manage projects and senders programmatically if you manage many different websites.
You no longer have to mix PHP and raw HTTP calls for “non-notification” operations: everything lives in one library.
v3 is also aligned with the OpenAPI specification that we announced a few weeks ago.
The old push-only library (v2) remains available, but no new features will be added there.
If you are using Pushpad PHP, we recommend upgrading to v3.
Please read the UPGRADING.md file in the GitHub repository for more information.
The upgrade should be straightforward: you only need to rename some methods, and everything else remains compatible.
You can also contact our support if you need assistance with the migration.
Thank you for being part of the Pushpad developer community.
We hope this release helps you build more complete integrations with Pushpad, faster. As always, we welcome your feedback: feel free to open new issues or pull requests in the GitHub repository.
Happy coding,
The Pushpad Team
Please select whether you consent to our use of cookies and related technologies, as described in our Privacy Policy.