-
Notifications
You must be signed in to change notification settings - Fork 3
Install
Wouter Jonker edited this page Jun 13, 2025
·
4 revisions
To install the Pay. PHP SDK on the command line use the following command:
composer require paynl/php-sdk
Another way to install the SDK is by using the zipfile.
Download the zipfile that is included in the release itself. Then unzip the contents of the file and upload it to your server. In your project, require the file vendor/autoload.php.
After installation try a sample to see if all works well:
cp vendor/paynl/php-sdk/samples/OrderCreateMinimal.php .
Edit the file OrderCreateMinimal.php and update:
vendor path.
username (AT-code).
password (API token)
serviceId (Sales location code).
Then run OrderCreateMinimal.php in your browser