Download the PHP package eo/keyclient without Composer
On this page you can find all versions of the php package eo/keyclient. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package keyclient
Short Description Key Client library for PHP 5.3+
License MIT
Homepage https://github.com/eymengunay/php-keyclient
Informations about the package keyclient
PHP KEYCLIENT LIBRARY
KeyClient library for PHP 5.3+
Installing
Using Composer
To add PHP-KeyClient as a local, per-project dependency to your project, simply add a dependency on eo/keyclient to your project's composer.json file. Here is a minimal example of a composer.json file that just defines a development-time dependency on the latest version of the library:
Usage Example
Workflow
Creating payment url
Handling return response
Requirements
- PHP 5.3+
Breaking Changes
Version 0.2.0
PaymentRequest
andPaymentResponse
classes refactoredClient
classparsePaymentResponse
now accepts aSymfony\Component\HttpFoundation\Request
Running Tests
Before submitting a patch for inclusion, you need to run the test suite to check that you have not broken anything.
To run the test suite, install PHPUnit 3.7 (or later) first.
Dependencies
To run the entire test suite, including tests that depend on external dependencies, php-keyclient needs to be able to autoload them. By default, they are autoloaded from vendor/ under the main root directory (see vendor/autoload.php).
To install them all, use Composer:
Step 1: Get Composer
Make sure you download composer.phar in the same folder where the composer.json file is located.
Step 2: Install vendors
Note that the script takes some time to finish.
Running
First, install the vendors (see above).
Then, run the test suite from the package root directory with the following command:
The output should display OK. If not, you need to figure out what's going on and if the tests are broken because of your modifications.
Reporting an issue or a feature request
Issues and feature requests related to this library are tracked in the Github issue tracker: https://github.com/eymengunay/php-keyclient/issues