Download the PHP package zone-eu/wildduck-php-client without Composer
On this page you can find all versions of the php package zone-eu/wildduck-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zone-eu/wildduck-php-client
More information about zone-eu/wildduck-php-client
Files in zone-eu/wildduck-php-client
Package wildduck-php-client
Short Description PHP client for Wildduck email server API
License EUPL-1.1
Informations about the package wildduck-php-client
Wildduck API PHP Client
A modern PHP client for the Wildduck email server API with full type safety and DTO support.
Features
- š Type-Safe: Full PHP 8.3+ type hints with strict types
- š¦ DTOs: Request and response Data Transfer Objects for IDE autocomplete
- šÆ Modern PHP: Readonly properties, named parameters, union types
- š EventSource: Real-time updates via server-sent events
- š Comprehensive: All WildDuck API services covered
Requirements
- PHP 8.3 or newer
- Composer
Installation
Quick Start
Available Services
All services are accessed via the WildduckClient instance:
$client->users()- User management$client->addresses()- Email address management$client->mailboxes()- Mailbox operations$client->messages()- Message handling$client->filters()- Email filters$client->autoreply()- Auto-reply settings$client->applicationPasswords()- App-specific passwords$client->mcpTokens()- MCP access tokens$client->authentication()- Authentication endpoints$client->twoFactorAuthentication()- 2FA management$client->archive()- Message archiving$client->audit()- Audit logs$client->dkim()- DKIM key management$client->domainAliases()- Domain alias operations$client->events()- Event streaming$client->storage()- File storage$client->submission()- Message submission$client->webhooks()- Webhook management
See MIGRATION.md for complete migration guide from v1.x.
Examples
Managing Messages
Working with Filters
Event Streaming
Testing
The library includes comprehensive structure tests. See TESTING.md for:
- Running tests
- Writing integration tests
- Test coverage information
Configuration
Environment Variables
WDPC_REQUEST_LOGGING(true/false) - Enable request loggingWDPC_REQUEST_LOGGING_FOLDER_PERMISSIONS(0755) - Log folder permissionsWDPC_REQUEST_LOGGING_PATTERN- RegEx for requests to logWDPC_REQUEST_LOGGING_DIRECTORY- Base directory for logs
Client Options
Architecture
DTOs (Data Transfer Objects)
All requests and responses use strongly-typed DTOs:
DTOs provide:
- ā IDE autocomplete
- ā Type safety at compile time
- ā Clear API contracts
- ā Validation support
Service Layer
Services extend AbstractService and provide typed methods:
Upgrading from v1.x
See MIGRATION.md for detailed upgrade instructions. Key changes:
- DTOs instead of arrays: All requests now use DTOs
- Service access:
$client->users()instead of$client->users - Return types: Typed DTOs instead of generic arrays
- PHP 8.3+: Modern PHP features throughout
Contributing
Contributions are welcome! Please see our contributing guidelines:
- Fork the repository
- Create a feature branch
- Add tests for new features
- Ensure all tests pass
- Submit a pull request
License
EUPL-1.2 - European Union Public License
Resources
- WildDuck API Documentation
- Migration Guide
- Testing Guide
- Changelog
Credits
Heavily inspired by stripe/stripe-php.
Made with ā¤ļø by Zone Media OĆ
All versions of wildduck-php-client with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
symfony/http-foundation Version ^7.4.3
guzzlehttp/guzzle Version ^7.10