This is a simple PHP SDK for interacting with the Waiver Forever API. All API documentation can be found at https://docs.waiverforever.com
composer require christohill/waiverforever-api-php
Note: none of the API keys or ID below are valid
use WaiverForever\WaiverForever;
$waivers = new WaiverForever('edf59be9216e66eb17093574376d4c5f');
$user = $waivers->UserInfo(); // Get user info for the API key
$templates = $waivers->TemplateList(); // List all templates
$signed = $waivers->SignedWaiver('aWd898gfdsa789ddf'); // Get a signed waiver
Method | Description | Docs |
---|---|---|
UserInfo() | Get user info for the API key | Read docs |
AllSubscriptions() | Get all webhooks subscriptions | Read docs |
CreateSubscription($target, $template, $event) | Subscribe an event/webhook | Read docs |
DeleteSubscription($subscriptionID) | Unsubscribe an event | Read docs |
TemplateList() | List all templates | Read docs |
WaiverRequest($template, $expiry) | Request a waiver to sign | Read docs |
TrackingWaiver($trackingID) | Query signed waiver by tracking id | Read docs |
SignedWaiver($waiver) | Get a signed waiver | Read docs |
SearchWaiver($filters) | Search waiver with keywords | Read docs |
WaiverPDF($waiver) | Download waiver in pdf | Read docs |
WaiverPicture($waiver, $picture) | Download waiver pictures | Read docs |