PHPackages                             rhaima/laravel-flouci - 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. rhaima/laravel-flouci

ActiveLibrary[Payment Processing](/categories/payments)

rhaima/laravel-flouci
=====================

Laravel package for integrating Flouci payments in Tunisia.

v1.0.0(3mo ago)020↓75%MITPHPPHP ^8.2CI passing

Since Apr 4Pushed 3mo agoCompare

[ Source](https://github.com/Rhaima96/laravel-flouci)[ Packagist](https://packagist.org/packages/rhaima/laravel-flouci)[ Docs](https://github.com/Rhaima96/laravel-flouci)[ RSS](/packages/rhaima-laravel-flouci/feed)WikiDiscussions main Synced today

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

Laravel Flouci
==============

[](#laravel-flouci)

[![Tests](https://github.com/Rhaima96/laravel-flouci/actions/workflows/tests.yml/badge.svg)](https://github.com/Rhaima96/laravel-flouci/actions/workflows/tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/9a7b0df7f0ec86a038fc354e69f1ce41ba32ca6cf5eacd7378575eb52d4a1327/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726861696d612f6c61726176656c2d666c6f7563692e737667)](https://packagist.org/packages/rhaima/laravel-flouci)[![Total Downloads](https://camo.githubusercontent.com/bed3062aca790db54b9279f99db3989af5e30dfd87862ce5fec462b0102281aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726861696d612f6c61726176656c2d666c6f7563692e737667)](https://packagist.org/packages/rhaima/laravel-flouci)[![License](https://camo.githubusercontent.com/7b28f75fdeb973c534b7987b24ddc46f9ae1897f5c9ab1b1a90b24d2f9c5986e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f726861696d612f6c61726176656c2d666c6f7563692e737667)](https://packagist.org/packages/rhaima/laravel-flouci)

`rhaima/laravel-flouci` est un package Laravel pour integrer Flouci dans des applications tunisiennes.

Compatibilite
-------------

[](#compatibilite)

- Laravel 11
- Laravel 12
- Laravel 13
- PHP 8.2+

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

[](#installation)

```
composer require rhaima/laravel-flouci
```

Le package utilise l'auto-discovery Laravel. Si tu preferes une declaration manuelle, ajoute le provider suivant:

```
Flouci\Laravel\FlouciServiceProvider::class,
```

Configuration
-------------

[](#configuration)

Publier la configuration:

```
php artisan vendor:publish --tag=flouci-config
```

Variables attendues:

```
FLOUCI_BASE_URL=https://developers.flouci.com/api
FLOUCI_PUBLIC_KEY=
FLOUCI_PRIVATE_KEY=
FLOUCI_SUCCESS_LINK=${APP_URL}/payment/success
FLOUCI_FAIL_LINK=${APP_URL}/payment/fail
FLOUCI_CARD_PAYMENT=true
FLOUCI_IMAGE_URL=
```

Options de configuration
------------------------

[](#options-de-configuration)

- `base_url`: URL de base de l'API Flouci
- `public_key`: cle publique Flouci
- `private_key`: cle privee Flouci
- `success_link`: URL de retour en cas de succes
- `fail_link`: URL de retour en cas d'echec
- `card_payment`: valeur par defaut envoyee comme `accept_card` lors de `generatePayment()`
- `image_url`: URL d'image par defaut envoyee lors de `generatePayment()`

Utilisation
-----------

[](#utilisation)

```
use Flouci\Laravel\Facades\Flouci;

$payment = Flouci::generatePayment([
    'amount' => 10000,
    'developer_tracking_id' => 'order_1001',
]);

$verification = Flouci::verifyPayment($payment['result']['payment_id']);
```

Pour forcer des valeurs sur un appel precis:

```
$payment = Flouci::generatePayment([
    'amount' => 10000,
    'developer_tracking_id' => 'order_1002',
    'accept_card' => false,
    'image_url' => 'https://example.com/logo.png',
]);
```

Developpement du package
------------------------

[](#developpement-du-package)

Le depot contient maintenant:

- `src/` pour le code publiable du package
- `config/` pour la configuration publiee
- `routes/` pour les routes du package
- `tests/` pour les tests package-first avec Pest + Testbench
- `workbench/` pour les essais locaux si besoin

Lancer les tests:

```
composer test
```

References Flouci
-----------------

[](#references-flouci)

- Introduction:
- Test environment:

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance82

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

91d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/68730147?v=4)[Rhaima Mohamed](/maintainers/Rhaima96)[@Rhaima96](https://github.com/Rhaima96)

---

Top Contributors

[![Rhaima96](https://avatars.githubusercontent.com/u/68730147?v=4)](https://github.com/Rhaima96 "Rhaima96 (1 commits)")

---

Tags

laravelpaymentstunisiaflouci

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/rhaima-laravel-flouci/health.svg)

```
[![Health](https://phpackages.com/badges/rhaima-laravel-flouci/health.svg)](https://phpackages.com/packages/rhaima-laravel-flouci)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.9k3](/packages/defstudio-telegraph)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.0k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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