This documentation explains the SofortLib PHP, its parts, how to set it up and how to test it.
Integrate the SofortLib PHP into your project to communicate via PHP with the SOFORT API.
Find out more about the SOFORT API/SDK here: https://www.sofort.com/integrationCenter-eng-DE/integration/API-SDK/
SofortLib PHP Supports the following SOFORT Products:
Install the sofort/sofortlib-php
package using composer:
{
"require": {
"sofort/sofortlib-php": "3.*"
}
}
The SofortLib PHP package contains the following:
/src
directory with the class-files/examples
folder, with examples of usage/test
with the unittests (for PHP Unit).Find examples of usage for the different modules in the /examples
directory.
Run the tests
./vendor/bin/phpunit