Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shahmal1yev/php-yigim
A PHP package that makes it easy to integrate Yığım Payment System (https://yigim.az) into your projects.
https://github.com/shahmal1yev/php-yigim
payment-gateway-integration payment-integration php-development php-package php83 yigim
Last synced: about 18 hours ago
JSON representation
A PHP package that makes it easy to integrate Yığım Payment System (https://yigim.az) into your projects.
- Host: GitHub
- URL: https://github.com/shahmal1yev/php-yigim
- Owner: shahmal1yev
- Created: 2024-05-06T07:22:19.000Z (5 months ago)
- Default Branch: dev
- Last Pushed: 2024-09-10T04:59:44.000Z (15 days ago)
- Last Synced: 2024-09-10T07:32:54.111Z (15 days ago)
- Topics: payment-gateway-integration, payment-integration, php-development, php-package, php83, yigim
- Language: PHP
- Homepage: https://shahmal1yev.github.io
- Size: 247 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# EasyPay PHP/Yığım
[![Version](https://img.shields.io/badge/Version-1.0-blue.svg)](https://semver.org/)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Documentation](https://img.shields.io/badge/API-Documentation-purple.svg)](https://shahmal1yev.github.io)A PHP package that makes it easy to integrate [**Yığım Payment System**](https://yigim.az/) into your projects.
![YIĞIM Logo](https://yigim.az/uploads/images/1-02.png)
## Documentation
You can read the API documentation from [here](https://shahmal1yev.github.io). Feel free to submit a pull request to [docs](https://github.com/shahmal1yev/shahmal1yev.github.io) if you have something you'd like to add.## Requirements
```json
"php": ">=8.3",
"ext-curl": "*",
"ext-http": "*"
```## Installation
```php
composer require shahmal1yev/php-yigim
```## Usage
After including the library in your project, you can refer to the following examples:
### Initialization Command
```php
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();
```## Contribution
- 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.## Licence
This project is licensed under the MIT License. For more information, see the [LICENSE](https://opensource.org/license/MIT).