Giter Site home page Giter Site logo

shahmal1yev / php-yigim Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 252 KB

A PHP package that makes it easy to integrate Yığım Payment System (https://yigim.az) into your projects.

Home Page: https://shahmal1yev.github.io

PHP 100.00%
payment-gateway-integration payment-integration php-development php-package php83 yigim

php-yigim's Introduction

EasyPay PHP/Yığım

Version License: MIT Documentation

A PHP package that makes it easy to integrate Yığım Payment System into your projects.

YIĞIM Logo

Documentation

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.

Requirements

"php": ">=8.3",
"ext-curl": "*",
"ext-http": "*"

Installation

composer require shahmal1yev/php-yigim

Usage

After including the library in your project, you can refer to the following examples:

Initialization Command

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.

php-yigim's People

Contributors

shahmal1yev avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.