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

ActiveLibrary[Payment Processing](/categories/payments)

ravols/everifin-sdk-php
=======================

PHP sdk for Everifin payment gateway.

0.2.1(4mo ago)2149[1 PRs](https://github.com/ravols/everifin-sdk-php/pulls)1MITPHPPHP ^8.3CI passing

Since Dec 17Pushed 1mo agoCompare

[ Source](https://github.com/ravols/everifin-sdk-php)[ Packagist](https://packagist.org/packages/ravols/everifin-sdk-php)[ Docs](https://github.com/ravols/everifin-sdk-php)[ GitHub Sponsors](https://github.com/Ravols)[ RSS](/packages/ravols-everifin-sdk-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)DependenciesVersions (16)Used By (1)

PHP SDK for Everifin payment gateway
====================================

[](#php-sdk-for-everifin-payment-gateway)

[![image](https://camo.githubusercontent.com/d282cc3193faee11ee32307d0c4c9d809e8fafa4b3a8c12c6afbf35d4f7ec617/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d3737374242343f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/d282cc3193faee11ee32307d0c4c9d809e8fafa4b3a8c12c6afbf35d4f7ec617/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d3737374242343f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)[![image](https://private-user-images.githubusercontent.com/56951790/397079262-5fa2a114-16fd-4db8-ab5c-e7fb7a834914.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50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A2VDIwMDQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI0NjhlN2RiMzIyMmJmOWI2YjY5ZWFkNmU3M2I4OWMxZmIzOWNlODg0N2Q2NzQ2ZDBkNTg3ZGYyNWQ3NTlhOWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-YVTfDU0paZEcHXTa7ogO12LwazVwoOj7ptSviyBKZY)

This package is a clean SDK for PHP implementation of Everifin Payment Gateway. By using this package you can create new payments, redirects to gateway and process payments in no time.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require ravols/everifin-sdk-php
```

Usage
-----

[](#usage)

There are multiple modules each representing a domain of services that everifin provides. Let's say you want the most wanted things, which is to create a new order and get a redirect url which will take your customer to Everifin payment gateway, so that you customer can pay for your order.

First of all we need to setup a Config object.

```
Config::getInstance()->setClientId('your-client-id')->setClientSecret('your-client-secret')->setClientIban('your-recipient-iban');
```

This config needs to be setup only once, as it is accessible as a singleton throughout your application lifecycle.

Lets create new everifin order in order to get our payment redirect url.

```
$everifinOrderModule = new EverifinOrders; //Represents Everifin Order domain

$createOrderRequest = new CreatePaymentRequest(
    instructionId: '',//if not filled, auto generated by everifin
    amount: 120.99, //float or int
    currency: 'EUR', //Need to be standard currency code
    redirectUrl: 'your-redirect-url', //where customer will land after payment / cancelling the payment on everifin
    recipientIban: Config::getInstance()->getClientIban(),
    senderBankId: 'fkbaredn',
    recipientBankBic: 'uncrskbx',
    variableSymbol: 'variable-symbol', //order number for example, there is a lenght limitation though
    constantSymbol: '0308',
    specificSymbol: '0000000003',
    paymentMessage: 'message-if-you-want',
    externalId: 'ext4123',
    senderEmail:'customer-email',
);

//This response data contain much more than just the link, for this example we are just interested in the redirect link
$createOrderPaymentResponseData = $everifinOrderModule->createOrderPaymentResponse(createPaymentRequest:$createOrderRequest);

$url = $createOrderPaymentResponseData->link;
//Your logic follows with the link - redirect, send via email etc.
```

Great! So now we have our link and let's simulate that we want to process this payment once your customer pays or cancels the payment.

```
//Depending how you build your Config class you may or may not build it again, for this example we start from scratch
Config::getInstance()->setClientId('your-client-id')->setClientSecret('your-client-secret')->setClientIban('your-recipient-iban');

//Lets get details about the payment
$everifinPayment = new EverifinPayments;

//The order id is send to you as a request GET paramter to the redirect url specified in the redirectUrl parameter when creating an order
$responseData = $everifinPayment->getPayment(paymentId: 'f459c0b7-949e-4266-854d-8f451d5e3c68'); //returns GetPaymentResponse object

$statusOfPayment = $responseData->status; //BOOKED, or other status which can be found in the official everifin docs
//Your logic depending on the status follows here - process order, cancel order etc.
```

List of statuses and more information about everifin API can be found in their [documentation](https://everifin.atlassian.net/wiki/spaces/EPAD/pages/2467561491/Paygate+Payment+Flow)

Credits
-------

[](#credits)

- [Rudolf Bruder](https://github.com/rudolfbruder)
- [Jaroslav Štefanec](https://github.com/jaroslavstefanec)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance84

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 56.8% 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 ~33 days

Recently: every ~91 days

Total

12

Last Release

141d ago

### Community

Maintainers

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

---

Top Contributors

[![rudolfbruder](https://avatars.githubusercontent.com/u/56951790?v=4)](https://github.com/rudolfbruder "rudolfbruder (25 commits)")[![jaroslavstefanec](https://avatars.githubusercontent.com/u/55752260?v=4)](https://github.com/jaroslavstefanec "jaroslavstefanec (9 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")

---

Tags

laravelRavolseverifin-sdk-php

### Embed Badge

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

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

###  Alternatives

[anandsiddharth/laravel-paytm-wallet

Integrate paytm wallet easily with this package. This package uses official Paytm PHP SDK's

104421.1k7](/packages/anandsiddharth-laravel-paytm-wallet)[dena-a/iran-payment

a Laravel package to handle Internet Payment Gateways for Iran Banking System

312.4k1](/packages/dena-a-iran-payment)[threesquared/laravel-paymill

Laravel wrapper for the Paymill API

121.3k](/packages/threesquared-laravel-paymill)

PHPackages © 2026

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