A PHP package that makes it easy to integrate Yığım Payment System into your projects.
You can read the API documentation from here. Feel free to submit a pull request to docs if you have something you'd like to add.
"php": ">=8.3",
"ext-curl": "*",
"ext-http": "*"
composer require shahmal1yev/php-yigim
After including the library in your project, you can refer to the following examples:
use EasyPay\PHP\Yigim\Facades;
$initializationCommand = CommandFacade::initialization()->fieldBuilder()
->setReference("REF0001")
->setType("SMS")
->setToken("CRD0001")
->setSave("y")
->setAmount(1000)
->setCurrency("994")
->setBiller("BLR001")
->setDescription("Test payment")
->setTemplate("TPL0001")
->setXMerchant("Merchant")
->setSignature("OaDZaBl6b13xIP+U9nulYQ==")
->setXType("JSON");
$responseContract = $initializationCommand->execute();
echo $responseContract->getUrl();
- If you find any bug or issue, please open an issue.
- If you want to contribute to the code, feel free to submit a pull request.
This project is licensed under the MIT License. For more information, see the LICENSE.