PHPackages                             fintecture/fintecture-sdk-php - 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. fintecture/fintecture-sdk-php

ActiveLibrary[Payment Processing](/categories/payments)

fintecture/fintecture-sdk-php
=============================

PHP library for the Fintecture API.

2.6.2(4w ago)4490.5k↓64.4%73MITPHPPHP &gt;=7.2CI failing

Since Jun 24Pushed 4w ago2 watchersCompare

[ Source](https://github.com/Fintecture/fintecture-sdk-php)[ Packagist](https://packagist.org/packages/fintecture/fintecture-sdk-php)[ Docs](https://github.com/Fintecture/fintecture-sdk-php)[ RSS](/packages/fintecture-fintecture-sdk-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (20)Versions (40)Used By (3)

PHP library for the Fintecture API.
===================================

[](#php-library-for-the-fintecture-api)

[![Latest Stable Version](https://camo.githubusercontent.com/08aea730bb57731b6a136ef311be88c3805916ae31e6dad5d050cce6913a1b90/687474703a2f2f706f7365722e707567782e6f72672f66696e746563747572652f66696e746563747572652d73646b2d7068702f76)](https://packagist.org/packages/fintecture/fintecture-sdk-php) [![Total Downloads](https://camo.githubusercontent.com/ab443b1d69aa4a0c56e88d7f7b57db2cae129c1dc3952085e175531f22e3f3d5/687474703a2f2f706f7365722e707567782e6f72672f66696e746563747572652f66696e746563747572652d73646b2d7068702f646f776e6c6f616473)](https://packagist.org/packages/fintecture/fintecture-sdk-php) [![Monthly Downloads](https://camo.githubusercontent.com/bd43d117c2304c0d1fd42c95b6f49709f24c60a34fe5e8458b75ceca14c165fb/687474703a2f2f706f7365722e707567782e6f72672f66696e746563747572652f66696e746563747572652d73646b2d7068702f642f6d6f6e74686c79)](https://packagist.org/packages/fintecture/fintecture-sdk-php) [![Latest Unstable Version](https://camo.githubusercontent.com/d1f4ac5eea114173eadcc4b3dcea527b1eee5a529bd20ffedaf57a02d14a1beb/687474703a2f2f706f7365722e707567782e6f72672f66696e746563747572652f66696e746563747572652d73646b2d7068702f762f756e737461626c65)](https://packagist.org/packages/fintecture/fintecture-sdk-php) [![License](https://camo.githubusercontent.com/2d6d7b628f6026001a012a4cd6c0efb3cc335dcddc2f57779a02205e4bf4c99f/687474703a2f2f706f7365722e707567782e6f72672f66696e746563747572652f66696e746563747572652d73646b2d7068702f6c6963656e7365)](https://packagist.org/packages/fintecture/fintecture-sdk-php)

Fintecture is a Fintech that has a payment solution via bank transfer available at [fintecture.com](https://www.fintecture.com/).

This library is a PHP Client for the Fintecture API.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.2

Quick install
-------------

[](#quick-install)

Via [Composer](https://getcomposer.org), with our Packagist package [fintecture/fintecture-sdk-php](https://packagist.org/packages/fintecture/fintecture-sdk-php).

This command will get you up and running quickly with a Guzzle HTTP client (v7).

```
composer require fintecture/fintecture-sdk-php guzzlehttp/guzzle
```

The Guzzle client will automatically be found with the help of `php-http/discovery` package. If you prefer to specify a custom HTTP client to use, please read the [Advanced usage](#advanced-usage) section.

Getting started
---------------

[](#getting-started)

Simple usage looks like:

```
require_once('vendor/autoload.php');

$state = ''; // it's my transaction ID, I have to generate it myself, it will be sent back in the callback
$pisClient = new \Fintecture\PisClient([
    'appId' => 'app_id',
    'appSecret' => 'app_secret',
    'privateKey' => 'private_key', // could be a file path or the private key itself
    'environment' => 'sandbox' // or 'production'
]);

$pisToken = $pisClient->token->generate();
if (!$pisToken->error) {
    $pisClient->setAccessToken($pisToken); // set token of PIS client
} else {
    echo $pisToken->errorMsg;
}

$payload = [
    'meta' => [
        // Info of the buyer
        'psu_name' => 'M. John Doe',
        'psu_email' => 'john@doe.com',
        'psu_address' => [
            'street' => '5 Void Street',
            'zip' => '12345',
            'city' => 'Gotham',
            'country' => 'FR'
        ]
    ],
    'data' => [
        'type' => 'SEPA',
        'attributes' => [
            'amount' => '550.60',
            'currency' => 'EUR',
            'communication' => 'Commande N°15654'
        ]
    ]
];

$connect = $pisClient->connect->generate($payload, $state);
if (!$connect->error) {
    $pisClient->redirect($connect->meta->url);
} else {
    echo $connect->errorMsg;
}
```

### Available options of Client

[](#available-options-of-client)

- 'appId' =&gt; 'app\_id',
- 'appSecret' =&gt; 'app\_secret',
- 'privateKey' =&gt; 'private\_key', // could be a file path or the private key itself
- 'environment' =&gt; 'sandbox' // or 'production'
- 'shopName' =&gt; 'My super shop', // don't forget to give your client a nice name (even if it's optional)

### Examples

[](#examples)

Some examples (including webhook handling) are available in the [*examples* folder](https://github.com/Fintecture/fintecture-sdk-php/tree/master/examples).

Advanced usage
--------------

[](#advanced-usage)

We are decoupled from any HTTP messaging client with help by [HTTPlug](https://httplug.io). A list of community provided clients is found here:

### Using a different HTTP client

[](#using-a-different-http-client)

```
composer require fintecture/fintecture-sdk-php symfony/http-client nyholm/psr7
```

To set up the Fintecture client with this HTTP client

```
use Fintecture\PisClient;
use Symfony\Component\HttpClient\Psr18Client;

$pisClient = new PisClient([$config], new Psr18Client());
```

Available methods
-----------------

[](#available-methods)

These methods follow our [API structure](https://docs.fintecture.com/v2).

### Auth

[](#auth)

- token
    - generate
    - refresh

### AIS

[](#ais)

- account
    - get
- accountHolder
    - get
- authorize
    - generate
    - generateDecoupled
- connect
    - generate
- customer
    - delete
- transaction
    - get

### Customers

[](#customers)

- customers
    - get
    - generate
- customerBankAccount
    - get
    - generate

### PIS

[](#pis)

- assessment
    - get
- connect
    - generate
- initiate
    - generate
- payment
    - get
- refund
    - generate
- requestForPayout
    - generate
- requestToPay
    - generate
- settlement
    - get

### Resources

[](#resources)

- application
    - get
- functionality
    - get
- provider
    - get
- testAccount
    - get

Development
-----------

[](#development)

### Requirements

[](#requirements-1)

- PHP
- Git
- Composer
- Make
- Xdebug (for test coverage)

### Initialize project for development

[](#initialize-project-for-development)

```
make init
```

### PHPUnit (Unit Tests)

[](#phpunit-unit-tests)

Then you can run the tests:

```
make test
```

To generate the test coverage report, you can run this command:

```
make test-coverage
```

### PHPStan (Static Analysis)

[](#phpstan-static-analysis)

There are 10 levels (0-9). Level is set in `phpstan.neon`.

```
make analyse
```

### PHP CS Fixer (Coding Standards)

[](#php-cs-fixer-coding-standards)

```
make format
```

Troubleshooting
---------------

[](#troubleshooting)

Encountering an issue? Please contact us at .

License
-------

[](#license)

Fintecture PHP API Client is an open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

59

—

FairBetter than 98% of packages

Maintenance94

Actively maintained with recent releases

Popularity42

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 63.9% of commits — single point of failure

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 ~57 days

Recently: every ~199 days

Total

39

Last Release

28d ago

Major Versions

1.2.2 → 2.0.02021-08-18

PHP version history (4 changes)1.0.0PHP &gt;=5.4.0

1.2.2PHP &gt;=7.0

2.0.0PHP &gt;=7.1

2.2.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/d1235017485d6747361754f1190afe6ec1f4089bd9cfc58ca67d5404e4c24c64?d=identicon)[greggythefly](/maintainers/greggythefly)

![](https://www.gravatar.com/avatar/4cf4abc187bf43afa245210212a84df93087c6a044a8d979406f96a74e87dbe7?d=identicon)[anjansom](/maintainers/anjansom)

![](https://www.gravatar.com/avatar/5b0ae943b009b6a35e35d86f80c733e239209307cf06d6192da7bdd5225e5fad?d=identicon)[fintecture\_plugins](/maintainers/fintecture_plugins)

---

Top Contributors

[![hugofintecture](https://avatars.githubusercontent.com/u/89129201?v=4)](https://github.com/hugofintecture "hugofintecture (53 commits)")[![bastienfintecture](https://avatars.githubusercontent.com/u/75436927?v=4)](https://github.com/bastienfintecture "bastienfintecture (17 commits)")[![fintecturegit](https://avatars.githubusercontent.com/u/40475027?v=4)](https://github.com/fintecturegit "fintecturegit (10 commits)")[![QuentinFintecture](https://avatars.githubusercontent.com/u/122442213?v=4)](https://github.com/QuentinFintecture "QuentinFintecture (2 commits)")[![bnzo](https://avatars.githubusercontent.com/u/17174973?v=4)](https://github.com/bnzo "bnzo (1 commits)")

---

Tags

paymentBankfintecture

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fintecture-fintecture-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/fintecture-fintecture-sdk-php/health.svg)](https://phpackages.com/packages/fintecture-fintecture-sdk-php)
```

###  Alternatives

[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

1003.9M50](/packages/getbrevo-brevo-php)[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

185702.8k44](/packages/laudis-neo4j-php-client)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)

PHPackages © 2026

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