zone-webmail / wildduck-php-client
Installs: 5 063
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 9
Forks: 1
Open Issues: 3
Requires
- php: ^8.1|^8.2
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.3
- symfony/http-foundation: ^6.0
Requires (Dev)
- fzaninotto/faker: ^1.5
- kurbar/wildduck-test-server: ^0.7.0
- phpunit/phpunit: ^9.5
README
A PHP client for the Wildduck email server API to simplify communicating with the Wildduck e-mail server on PHP applications.
Heavily inspired by stripe/stripe-php.
Requirements
- PHP 7.4 or newer
Installation
Require Wildduck PHP client via Composer
composer require zone-eu/wildduck-php-client
Configuration options
ENV variables:
- WDPC_REQUEST_LOGGING (true/false) - Enable/Disable logging of request params
- WDPC_REQUEST_LOGGING_FOLDER_PERMISSIONS (0755) - The permissions given to the generated folders
- WDPC_REQUEST_LOGGING_PATTERN - Absolute url RegEx to match requests that need logging
- WDPC_REQUEST_LOGGING_DIRECTORY - The directory in which to save the logs.
- This is the base directory absolute path and under it extra folders will be created
- Subdirectory created will be "YYYY-MM-DD-HH"
- And under it every request will create a file
- File naming scheme "the request type (GET, POST, etc.)"-"the users WD id"-"a random generated string"
Usage
WIP
Contributing
WIP