composer require raufabbas/payriff
use Payriff\Payriff;
$payriff = new Payriff();
$payriff->setEncryptionToken(time() . rand());
$payriff->setMerchantNo('merchant');
$payriff->setSecretKey('secret');
$createOrder = $payriff->createOrder(amount: 1, description: 'Test order');
The package is open-sourced software licensed under the MIT license.