voucherly / voucherly-php-sdk
Voucherly PHP SDK
v1.1.0
2024-12-06 21:55 UTC
Requires
- php: >=5.6.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.65
README
The official Voucherly PHP library, supporting PHP 5.6.0 and later.
Requirements
PHP 5.6.0 and later.
Composer
You can install the bindings via Composer. Run the following command:
composer require voucherly/voucherly-php-sdk
To use the bindings, use Composer's autoload:
require_once 'vendor/autoload.php';
Manual Installation
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php
file.
require_once '/path/to/voucherly-php-sdk/init.php';
Dependencies
The bindings require the following extensions in order to work properly:
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
Documentation
For a comprehensive list of examples, check out the API documentation.
Development
For any requests, bug or comments, please open an issue or submit a pull request.