Download the PHP package dimonion/tangocard_php_sdk without Composer
On this page you can find all versions of the php package dimonion/tangocard_php_sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dimonion/tangocard_php_sdk
More information about dimonion/tangocard_php_sdk
Files in dimonion/tangocard_php_sdk
Package tangocard_php_sdk
Short Description Tango Card PHP SDK
License Apache-2.0
Homepage https://tangocard.com
Informations about the package tangocard_php_sdk
This is a copy of the official tangocard php sdk repository which was deleted.
TangoCard PHP SDK
How To Configure:
The generated code might need to be configured with your API credentials. To do that, open the file "Configuration.php" and edit it's contents.
How To Build:
The generated code has dependencies over external libraries. These dependencies
are defined in the composer.json
file. To resolve these dependencies, we use
the Composer package manager. You will need internet access for this.
- If you have not already installed Composer, install the latest version.
- Once Composer is installed, from commandline, run
composer install
to install dependencies.
How To Use:
For using this SDK do the following:
- Use Composer to install the dependencies. See the section "How To Build".
- See that you have configured your SDK correctly. See the section "How To Configure".
-
Depending on your project setup, you might need to include composer's autoloader in your PHP code to enable autoloading of classes.
-
Import the SDK client in your project:
- Instantiate the client. After this, you can now get the controllers and call the respective methods:
How To Test:
Unit tests in this SDK can be run using PHPUnit.
- First install the dependencies using composer including the
require-dev
dependencies. - Run
vendor\bin\phpunit --verbose
from commandline to execute tests. If you have installed PHPUnit globally, run tests usingphpunit --verbose
instead.
You can change the PHPUnit test configuration in the phpunit.xml
file.
All versions of tangocard_php_sdk with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
mashape/unirest-php Version ~3.0.1
apimatic/jsonmapper Version ~1.3.0