PHPackages                             eren-seyfi/iyzico-easy-checkoutform - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. eren-seyfi/iyzico-easy-checkoutform

ActiveLibrary[Payment Processing](/categories/payments)

eren-seyfi/iyzico-easy-checkoutform
===================================

Iyzico ödeme işlemleri için CheckoutForm işlemlerini kolaylaştıran PHP kütüphanesi.

v1.0.0(1y ago)13MITPHP

Since Oct 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Eren-Seyfi/iyzico-easy-checkoutform)[ Packagist](https://packagist.org/packages/eren-seyfi/iyzico-easy-checkoutform)[ RSS](/packages/eren-seyfi-iyzico-easy-checkoutform/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Iyzico Easy CheckoutForm
========================

[](#iyzico-easy-checkoutform)

Iyzico ödeme işlemleri için kolaylaştırılmış bir PHP kütüphanesidir. Bu kütüphane, Iyzico'nun CheckoutForm API'sini kullanarak hızlı ve kolay bir şekilde ödeme işlemlerini gerçekleştirmek için geliştirilmiştir.

---

Iyzico Easy CheckoutForm is a simplified PHP library for handling payment transactions. This library is developed to quickly and easily perform payment transactions using Iyzico's CheckoutForm API.

Özellikler | Features
---------------------

[](#özellikler--features)

- Iyzico CheckoutForm API entegrasyonu | Iyzico CheckoutForm API integration
- Kolay yapılandırma | Easy configuration
- PHPUnit ile test edilebilirlik | Testability with PHPUnit
- API anahtarı ve diğer bilgileri .env dosyasında saklama veya direkt parametre olarak gönderme esnekliği | Flexibility to store API key and other information in .env file or pass them as parameters directly

Gereksinimler | Requirements
----------------------------

[](#gereksinimler--requirements)

- PHP 7.4 veya üstü | PHP 7.4 or higher
- Composer
- Iyzico API Hesabı ve API Anahtarı | Iyzico API Account and API Key
- `vlucas/phpdotenv` paketi | `vlucas/phpdotenv` package

Kurulum | Installation
----------------------

[](#kurulum--installation)

Aşağıdaki adımları izleyerek projeyi yerel makinenize kurabilirsiniz:

Follow these steps to install the project on your local machine:

### 1. Depoyu Klonlayın | Clone the repository

[](#1-depoyu-klonlayın--clone-the-repository)

```
git clone https://github.com/Eren-Seyfi/iyzico-easy-checkoutform.git
cd iyzico-easy-checkoutform
```

### 2. Gerekli Paketleri Yükleyin | Install the required packages

[](#2-gerekli-paketleri-yükleyin--install-the-required-packages)

Composer ile gerekli PHP paketlerini yükleyin: Install the required PHP packages with Composer:

```
composer install
```

### 3. .env Dosyasını Yapılandırın | Configure .env File

[](#3-env-dosyasını-yapılandırın--configure-env-file)

Proje kök dizininde `.env` dosyasını oluşturabilir ve aşağıdaki bilgileri girerek API bilgilerinizi saklayabilirsiniz:

You can create a `.env` file in the project root directory and store your API information by entering the following details:

```
IYZIPAY_API_KEY=your_api_key
IYZIPAY_SECRET_KEY=your_secret_key
IYZIPAY_STATUS=test
IYZIPAY_BASE_URL_TEST=https://sandbox-api.iyzipay.com
IYZIPAY_BASE_URL_PRODUCTION=https://api.iyzipay.com
IYZIPAY_CALLBACK_URL=https://yourdomain.com/callback

```

> Not: Gerçek API anahtarlarınızı kullanmayı unutmayın. | Note: Don’t forget to use your real API keys.

### 4. Testleri Çalıştırın | Run the Tests

[](#4-testleri-çalıştırın--run-the-tests)

PHPUnit kullanarak testleri çalıştırabilirsiniz: You can run the tests using PHPUnit:

```
vendor/bin/phpunit tests
```

Testlerin tamamının geçmesi durumunda, yapılandırmanızın doğru çalıştığını onaylayabilirsiniz. If all tests pass, you can confirm that your configuration is working correctly.

---

Kullanım | Usage
----------------

[](#kullanım--usage)

Kütüphaneyi kullanmak için iki seçenek sunuyoruz: `.env` dosyasını kullanmak veya bilgileri parametre olarak sınıfa göndermek.

We offer two options for using the library: using the `.env` file or passing the information as parameters to the class.

### Yöntem 1: `.env` Dosyası ile Kullanım | Method 1: Using the `.env` file

[](#yöntem-1-env-dosyası-ile-kullanım--method-1-using-the-env-file)

```
