1. Go to this page and download the library: Download xrplwin/xumm-sdk-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
xrplwin / xumm-sdk-php example snippets
// Either pass API credentials through the constructor
$sdk = new XummSdk($apiKey, $apiSecret);
// Or set them as environment variables. See .env.example for the expected variable names.
// Note: the .env file is mostly applicable when contributing to the SDK itself.
$sdk = XummSdk();