99designs / rightsignature-php
PHP client for RightSignature.com API
Installs: 37 936
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 75
Forks: 8
Open Issues: 1
Requires
- php: >=5.6
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- fabpot/php-cs-fixer: ^1.10
- mockery/mockery: >=0.7.2
- phpunit/phpunit: ~5.0
This package is not auto-updated.
Last update: 2022-11-21 02:37:56 UTC
README
A PHP wrapper around the RightSignature API.
This is not a complete implementation. The following API calls are implemented:
- Document Details
- Prepackage Template
- Prefill Template
- Send Template
- Signer Links
The following API calls are not yet implemented:
- List Documents
- Batch Document Details
- Resend Reminder Emails
- Trash Document
- Extend Expiration
- Update Document Tags
- Send Document
- List Templates
- Template Details
- Build New Template
- User Details
- Add User
- Usage Report
Pull requests welcome.
Dependencies
RightSignature\HttpClient
currently has a dependency on Guzzle.
The test suite additionally requires PHPUnit and Mockery.
Usage
$client = RightSignature\HttpClient::forToken($myApiToken);
$rs = new RightSignature($client);
$document = $rs->documentDetails($someDocumentGuid);
Entities match the structure of the API responses:
// Access fields using ->
echo $document->state;
// Hyphen-separated identifiers become underscore_separated
echo $document->original_filename;
// Repeating elements are accessed like array members
echo $document->recipients[0]->name;
See RightSignature API documentation for details.