PHPackages                             devadze/laravel-flitt-payment - 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. devadze/laravel-flitt-payment

ActiveLibrary[Payment Processing](/categories/payments)

devadze/laravel-flitt-payment
=============================

A Laravel package for Flitt Payment API integration

1.0.8(2mo ago)022MITPHPPHP ^7.4 || ^8.0

Since Apr 9Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/gdevadze/laravel-flitt-payment)[ Packagist](https://packagist.org/packages/devadze/laravel-flitt-payment)[ RSS](/packages/devadze-laravel-flitt-payment/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

Laravel Flitt Payment Package
=============================

[](#laravel-flitt-payment-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8c2736d1f7117c9e862c7368b58cff6637e974382304c81fe3c6832a306e0154/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64657661647a652f6c61726176656c2d666c6974742d7061796d656e74)](https://packagist.org/packages/devadze/laravel-flitt-payment)[![Total Downloads](https://camo.githubusercontent.com/c312270684c86694f7ba949205e2b8a1715606005c0e89da76f2b5e6828ae59b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64657661647a652f6c61726176656c2d666c6974742d7061796d656e74)](https://packagist.org/packages/devadze/laravel-flitt-payment)

A simple and elegant Laravel package for integrating the [Flitt Payment Gateway](https://flitt.com) into your Laravel application.

---

🚀 Features
----------

[](#-features)

- Seamless Flitt payment integration
- Clean fluent API via Facade (`Flitt::setAmount(...)->redirect()`)
- Automatic signature generation
- Callback URL handling
- Configurable merchant settings
- Extendable via service class, trait, and contract

---

📦 Installation
--------------

[](#-installation)

Install the package via Composer:

You can install the package via composer:

```
composer require devadze/laravel-flitt-payment
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Devadze\FlittPayment\FlittPaymentServiceProvider"
```

Once published, the configuration file will be available at:

```
config/flitt.php
```

And run migrations:

```
php artisan migrate
```

Environment Variables
---------------------

[](#environment-variables)

Add the following variables to your `.env` file to configure the package:

```
FLITT_MERCHANT_ID=your_merchant_id
FLITT_SECRET_KEY=your_secret_key
FLITT_RESPONSE_URL=https://yourdomain.ge
FLITT_CALLBACK_URL=https://yourdomain.ge/flitt/callback # Used only if custom callback is needed
```

Usage
-----

[](#usage)

### Usage Example: Simple Payment Processing

[](#usage-example-simple-payment-processing)

To initiate a payment, use the `FlittPayment` facade to set the order details and redirect:

```
use Devadze\FlittPayment\Facades\FlittPayment;

$response = FlittPayment::setOrderDesc('ბალანსის შევსება')->setAmount(5)->redirect();

return redirect($response['checkout_url']);
```

Callback Handling
-----------------

[](#callback-handling)

The package handles callback behavior automatically. When a payment is processed, it will send a POST request to your callback URL with the payment details.

Example: Registering a Listener for Flitt Payment Updates Add the following code to your event listener:

```
namespace App\Listeners;

use Devadze\FlittPayment\Events\PaymentReceived;
use Illuminate\Support\Facades\Log;

class HandleFlittPayment
{
    /**
     * Create the event listener.
     */
    public function __construct()
    {
        //
    }

    /**
     * Handle the event.
     */
    public function handle(PaymentReceived $event): void
    {
        // implement your login code

        Log::info('Flitt payment callback received', $event->response); # you can remove it
    }
}
```

### Setting Up the Event Listener

[](#setting-up-the-event-listener)

Setting Up the Event Listener To handle transaction status updates efficiently, you need to register an event listener that listens for the HandleFlittPayment event triggered by the package.

Generating the Listener Automatically You can generate the event listener using the Artisan command:

```
php artisan make:listener HandleFlittPayment --event=\Devadze\FlittPayment\Events\PaymentReceived
```

This command will create a listener class at `app/Listeners/HandleFlittPayment.php`, which you can customize to handle the event logic.

This approach provides flexibility by allowing dynamic event registrations at runtime without modifying the EventServiceProvider.

For more details on event handling in Laravel, refer to the official [documentation](https://laravel.com/docs/12.x/events#event-discovery).

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance84

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~54 days

Recently: every ~80 days

Total

7

Last Release

82d ago

PHP version history (2 changes)1.0.0PHP &gt;=8.0

1.0.8PHP ^7.4 || ^8.0

### Community

Maintainers

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

---

Top Contributors

[![gdevadze](https://avatars.githubusercontent.com/u/55410050?v=4)](https://github.com/gdevadze "gdevadze (23 commits)")

### Embed Badge

![Health badge](/badges/devadze-laravel-flitt-payment/health.svg)

```
[![Health](https://phpackages.com/badges/devadze-laravel-flitt-payment/health.svg)](https://phpackages.com/packages/devadze-laravel-flitt-payment)
```

###  Alternatives

[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[buckaroo/sdk

Buckaroo payment SDK

12189.1k9](/packages/buckaroo-sdk)[contica/facturador-electronico-cr

Un facturador de código libre para integrar facturación electrónica en Costa Rica a un proyecto PHP

2128.8k](/packages/contica-facturador-electronico-cr)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

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