devhun / delynet-api-client
PHP API client for Delynet WEBFAX
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/devhun/delynet-api-client
Requires
- php: >=7.1
- ext-curl: *
- ext-json: *
Requires (Dev)
- guzzlehttp/guzzle: ^6.4
- phpunit/phpunit: >=7.0
Suggests
- guzzlehttp/guzzle: To use GuzzleHttpAdapter, require guzzlehttp/guzzle:^6.4
This package is auto-updated.
Last update: 2025-10-11 20:36:09 UTC
README
Install using composer
Open a shell, cd to your poject and type:
composer require devhun/delynet-api-client
or edit composer.json and add:
{
"require": {
"devhun/delynet-api-client": "~1.0"
}
}
If you want to use the GuzzleHttpAdapter, you will need to add Guzzle 6.
Usage examples
Guzzle
require 'vendor/autoload.php'; use DevHun\Delynet\DelynetClient; use DevHun\Delynet\Adapter\GuzzleHttpAdapter; // Using Guzzle 6... $client = new DelynetClient( new GuzzleHttpAdapter(), 'your-agent-id' ); $result = $client->fax()->{method}(); var_export($result);
CURL
require 'vendor/autoload.php'; use DevHun\Delynet\DelynetClient; use DevHun\Delynet\Adapter\CurlAdapter; // Using regular CURL, courtesy of 'malc0mn' $client = new DelynetClient( new CurlAdapter(), 'your-agent-id' ); $result = $client->fax()->{method}(); var_export($result);