voucherly/voucherly-php-sdk

v1.1.0 2024-12-06 21:55 UTC

This package is auto-updated.

Last update: 2025-01-06 22:22:49 UTC


README

Latest Stable Version Total Downloads License

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:

  • curl, although you can use your own non-cURL client if you prefer
  • json
  • mbstring (Multibyte String)

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.