Download the PHP package knops/sendfox-client without Composer
On this page you can find all versions of the php package knops/sendfox-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download knops/sendfox-client
More information about knops/sendfox-client
Files in knops/sendfox-client
Package sendfox-client
Short Description A PHP library for interacting with the Sendfox API using PSR HTTP Client Interface
License MIT
Informations about the package sendfox-client
Sendfox API Client
Een PHP library voor communicatie met de Sendfox API, gebouwd met PSR HTTP Client Interface voor maximale flexibiliteit.
Features
- ✅ PSR-7, PSR-17 en PSR-18 compliant
- ✅ Geen afhankelijkheid van een specifieke HTTP client
- ✅ Volledig typed met PHP 8.0+ property types
- ✅ Alle Sendfox API endpoints ondersteund
- ✅ Exception handling
- ✅ Data models voor veelgebruikte responses
Installatie
Vereisten
- PHP 8.0 of hoger
- Een PSR-18 HTTP Client (zoals Guzzle, Symfony HTTP Client, etc.)
- Een PSR-17 HTTP Factory implementatie
- Een Sendfox API token
Quick Start
1. Installeer een HTTP client
2. Basis gebruik met Guzzle
3. Gebruik met Symfony HTTP Client
API Usage
Campaigns
Contacts
Lists
Forms
Automations
User
Data Models
De library bevat enkele data models voor veelgebruikte responses:
Contact Model Features
Het Contact model heeft extra functionaliteit:
User Model Features
Het User model heeft extra functionaliteit voor account monitoring:
ContactList Model Features
Het ContactList model bevat performance statistieken:
Exception Handling
Dependency Injection
Met een DI container kun je de client eenvoudig registreren:
Testing
Voor testing kun je eenvoudig een mock HTTP client gebruiken:
License
MIT License. Zie LICENSE voor details.
Contributing
Bijdragen zijn welkom! Open een issue of submit een pull request.
API Documentatie
Voor volledige API documentatie, zie: Sendfox API Documentation
All versions of sendfox-client with dependencies
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.0