Download the PHP package clicksign/clicksign-php without Composer
On this page you can find all versions of the php package clicksign/clicksign-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download clicksign/clicksign-php
More information about clicksign/clicksign-php
Files in clicksign/clicksign-php
Package clicksign-php
Short Description PHP client to consume Clicksign JSON API
License MIT
Homepage http://github.com/clicksign/clicksign-php
Informations about the package clicksign-php
Clicksign PHP Client
This is the PHP wrapper for Clicksign REST API.
How to use
Installing with composer
Create a file named composer.json with the content below:
Then, create a file like example/sample1.php to load the library:
Installing without composer
Download the code at https://github.com/clicksign/clicksign-php/archive/master.zip
Extract the code to a folder
Then, create a file like example/sample1.php to load the library:
A more complete example can be found in example/sample2.php
Documents Services
List all documents:
Upload a document:
Upload only the file:
It also accepts an array:
This call will upload the file and create the signature list along with the message. If array is passed, signers array inside of it is mandatory.
Attention: You must enforce use of UTF-8 or you may get server-side errors when you try to send anything but regular ASCII.
Retrieve a document:
Download a document:
Create a signature list:
Or:
You may pass message
and skip_email
parameters:
Attention: You must enforce use of UTF-8 or you may get server-side errors when you try to send anything but regular ASCII.
Resend a document:
Cancel document:
Hooks Services
Create a hook:
List all document's hooks:
Delete a hook:
Batches Services
Create a batch:
List all batches:
Delete a batch:
Dev notes
To "vendor" compose packages, run the command composer install --no-dev --no-scripts
(based on instructions in https://getcomposer.org/doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md)