Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

christohill/waiverforever-api-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Waiver Forever API wrapper for PHP

This is a simple PHP SDK for interacting with the Waiver Forever API. All API documentation can be found at https://docs.waiverforever.com

Installation

composer require christohill/waiverforever-api-php

Usage

Note: none of the API keys or ID below are valid

Simple usage

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

Methods

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

About

A PHP wrapper for the Waiver Forever API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages