Download the PHP package sendpulse/rest-api without Composer
On this page you can find all versions of the php package sendpulse/rest-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package rest-api
SendPulse REST client library
Official PHP client for the SendPulse REST API.
- PHP ≥ 8.3, zero runtime dependencies (
ext-curl,ext-json) - PSR-18 HTTP client and PSR-16 cache adapters available as optional drop-ins
- Typed models generated from OpenAPI specs; thin ergonomic service layer on top
- PHPStan max · PSR-12 · 26 unit tests
Requirements
- php: >=8.3
- ext-json: *
- ext-curl: *
Installation
Via Composer:
Quick start
API key auth
OAuth (client credentials)
Tokens are fetched automatically and stored on disk between requests.
Services
| Method | Service |
|---|---|
$client->emailService() |
Bulk email campaigns and address books |
$client->smtpService() |
Transactional SMTP emails |
$client->smsService() |
SMS campaigns |
$client->crmService() |
CRM contacts and deals |
$client->chatbotService() |
Chatbot bots |
Email service
SMTP service
SMS service
CRM service
Chatbot service
Error handling
Configuration
Custom HTTP client (PSR-18)
Custom token storage
Default is FileTokenStorage (system temp directory or custom cacheDir).
Documentation
| Topic | |
|---|---|
| Authentication & token storage | docs/authentication.md |
| Exception reference | docs/exceptions.md |
| Testing | docs/testing.md |
| Laravel integration | docs/laravel.md |
| Upgrading from 1.x | docs/upgrading.md |
License
MIT
All versions of rest-api with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.3
ext-curl Version *
ext-json Version *
ext-curl Version *
ext-json Version *
The package sendpulse/rest-api contains the following files
Loading the files please wait ...