developertugrul/ziraat-bank-pos

Php Ziraat Bank Online Payment System

dev-main 2024-02-21 12:52 UTC

This package is auto-updated.

Last update: 2024-09-21 13:57:48 UTC


README

This package provides a convenient way to integrate Ziraat Sanal POS functionality into your PHP projects.

Installation

You can install this package via Composer. Run the following command in your terminal:

composer require developertugrul/ziraat-sanal-pos

Usage

To use this package, simply include it in your PHP files where you need Ziraat Sanal POS functionality:

require_once 'vendor/autoload.php';

Configuration

After including the package, you have to add you api key and secret to .env file. You can get these credentials from Ziraat Bank.

ZIRAAT_API_KEY=your-api-key
ZIRAAT_API_SECRET=your-secret

Create Instance

After adding your credentials to .env file, you can create an instance of ZiraatSanalPos class:

use ZiraatBank\ZiraatBank;

$ziraatSanalPos = new ZiraatBank();

License

This package is licensed under the MIT License. See the LICENSE file for details.

For any inquiries or issues, feel free to contact the package author, Tugrul Developer, at iletisim@tugrulyildirim.com.