printsites / deliv-php
http://www.deliv.co/ PHP SDK
2.0.4
2017-05-09 17:42 UTC
Requires
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- phpunit/phpunit: 5.*
This package is not auto-updated.
Last update: 2025-06-22 05:55:16 UTC
README
Learn more at Deliv.co.
Usage
Setup client
$client = new \Deliv\DelivClient('apikey', 'production||<defaults_to_staging>'); $client->deliveries->cancelDelivery('<delivery_id>');
WIP Documentation
Still a work in progress, but all methods are available in this style and format.
Deliveries & Estimate
Create Estimate
$client->deliveries->createDeliveryEstimate($data);
Get Delivery Estimate
$client->deliveries->getDeliveryEstimate($id);
Create Delivery
$client->deliveries->createDelivery($data);
Get Delivery By Id
$client->deliveries->getDelivery('id');
Update Delivery
$client->deliveries->updateDelivery($delivery);
Running Tests
composer install --dev phpunit
Notes
Heavily inspired by https://github.com/intercom/intercom-php
(c) 2017 iSourceWorldWide, LLC