PHPackages                             noneym/payfull-api-composer - 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. [API Development](/categories/api)
4. /
5. noneym/payfull-api-composer

ActiveLibrary[API Development](/categories/api)

noneym/payfull-api-composer
===========================

A Composer package for the Payfull API integration.

v1.0.2(1y ago)0658PHP

Since Nov 6Pushed 1y agoCompare

[ Source](https://github.com/noneym/payfull-api-composer)[ Packagist](https://packagist.org/packages/noneym/payfull-api-composer)[ RSS](/packages/noneym-payfull-api-composer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

\[[![Api Dökümantasyonu için](https://camo.githubusercontent.com/a8220696bea37558cc4c28ad14a82120660d744139611f728273ec926b1230d5/68747470733a2f2f70617966756c6c2e636f6d2f6170692d646f63732f696e6465782e68746d6c)](https://camo.githubusercontent.com/a8220696bea37558cc4c28ad14a82120660d744139611f728273ec926b1230d5/68747470733a2f2f70617966756c6c2e636f6d2f6170692d646f63732f696e6465782e68746d6c)\]

Payfull üyeliği açmak için

Gereklilikler
=============

[](#gereklilikler)

PHP 5.6 ve sonrası

Yükleme
=======

[](#yükleme)

### Composer ile Yükleme

[](#composer-ile-yükleme)

Aşağıdaki komutla paketi Composer ile yükleyebilirsiniz:

```
composer require noneym/payfull-api-composer
```

### Manuel Yükleme

[](#manuel-yükleme)

```
require_once('/dosyanın/bulunduğu/yol/PayfullClient/src/Payfull/loader.php);
```

\#Kullanım

```
### Api Bağlantı URL'iniz ve Api Hesap bilgilerinizi set etmelisiniz. Her Request için zorunludur.

$config = new Payfull\Config();
$config->setApiKey("test");
$config->setApiSecret("123456");
$config->setApiUrl("https://test.payfull.com/integration/api/v1");

# İlgili requestin nesnesini oluşturup belirli parametrelere değer atamalısınız. Örnek olarak Satış Requesti verilmiştir.

$request = new Payfull\Requests\Sale($config);
$request->setPaymentTitle('Ödeme başlığı');
$request->setPassiveData('Ödeme ile ilgili bilgiler');
$request->setCurrency('TRY');
$request->setTotal('13.00');
$request->setInstallment('1');
$request->setBankId('Akbank');
$request->setGateway('10001');

# Satış için kullanılacak olan kart bilgilerini set edip satış objesinin içine ilgili kartı göndermelisiniz.

$paymentCard = new Payfull\Models\Card();
$paymentCard->setCardHolderName('Payfull Ödeme Çözümleri');
$paymentCard->setCardNumber('4355084355084358');
$paymentCard->setExpireMonth('12');
$paymentCard->setExpireYear('2030');
$paymentCard->setCvc('000');
$request->setPaymentCard($paymentCard);

# Satış işlemini yapan kullanıcının bilgilerini set edip satış objesine göndermelisiniz.

$customer = new Payfull\Models\Customer();
$customer->setName('Faruk');
$customer->setSurname('Cinemre');
$customer->setEmail('faruk@payfull.com');
$customer->setPhoneNumber('05399999999');
$customer->setTcNumber('37418133976'); // Opsiyonel
$request->setCustomerInfo($customer);

# Her Request için ihtiyacınız olan execute fonksiyonuyla ihtiyacınız olan bilgileri elde edebilirsiniz.

$response = $request->execute();

echo "";
print_r($response);
echo "";
die;
```

Daha fazla örnek görmek için `samples` klasörü içerisine girebilirsiniz.

### Test Kartları Örneği

[](#test-kartları-örneği)

Card NumberBankExpiration DateCVC4355084355084358AKBANK-VISA12/20300005571135571135575AKBANK-MASTER12/20300004402934402934406TEB-VISA12/20300005101385101385104TEB-MASTER12/20300004920244920244921HALKBANK-VISA12/20300015404355404355405HALKBANK-MASTER12/20300014022774022774026FINANSBANK-VISA12/20300005456165456165454FINANSBANK-MASTER12/20300004508034508034509ISBANK-VISA12/20300005406675406675403ISBANK-MASTER12/20300004258464258464253ANADOLUBANK-VISA12/20300005222405222405229ANADOLUBANK-MASTER12/20300004025894025894022KUVEYTTURK-VISA12/20300004555714555714556INGBANK-VISA12/20300005400245400245409INGBANK-MASTER12/20300005342614723204016GARANTI01/20177534506347048543223YKB12/2030000\[[![Daha fazla kart örneği için](https://camo.githubusercontent.com/ddddfbd9c421d6959e7f56852a9cddeb23ed8688e78a2ebd532e952b034a87b7/68747470733a2f2f70617966756c6c2e636f6d2f6170692d646f63732f7465737443617264732e68746d6c)](https://camo.githubusercontent.com/ddddfbd9c421d6959e7f56852a9cddeb23ed8688e78a2ebd532e952b034a87b7/68747470733a2f2f70617966756c6c2e636f6d2f6170692d646f63732f7465737443617264732e68746d6c)\]

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

548d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/471f0d85bb6c8e79dbce79acfc04d94fa56308dd86a494a0ac643a5292c0a440?d=identicon)[noneym](/maintainers/noneym)

---

Top Contributors

[![PAYFULL-ODEME](https://avatars.githubusercontent.com/u/10048696?v=4)](https://github.com/PAYFULL-ODEME "PAYFULL-ODEME (6 commits)")[![hazeem1991](https://avatars.githubusercontent.com/u/18112493?v=4)](https://github.com/hazeem1991 "hazeem1991 (4 commits)")[![hazemarian](https://avatars.githubusercontent.com/u/60657595?v=4)](https://github.com/hazemarian "hazemarian (4 commits)")

### Embed Badge

![Health badge](/badges/noneym-payfull-api-composer/health.svg)

```
[![Health](https://phpackages.com/badges/noneym-payfull-api-composer/health.svg)](https://phpackages.com/packages/noneym-payfull-api-composer)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M474](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M186](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M33](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
