PHPackages                             osa-eg/laravel-tabby-integration - 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. osa-eg/laravel-tabby-integration

ActiveLibrary[Payment Processing](/categories/payments)

osa-eg/laravel-tabby-integration
================================

The package acts as a Laravel integration for the Tabby API, allowing developers to easily create sessions, handle payments, and manage webhooks in their applications.

v1.0.1(1y ago)107874MITPHPPHP &gt;=8.0

Since Aug 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/osa-eg/Laravel-Tabby-Integration)[ Packagist](https://packagist.org/packages/osa-eg/laravel-tabby-integration)[ RSS](/packages/osa-eg-laravel-tabby-integration/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Tabby Integration
-------------------------

[](#laravel-tabby-integration)

 [![Image 2](assets/images/1.jpg)](assets/images/1.jpg)

`laravel-tabby-integration` is a Laravel package designed to simplify the integration of the Tabby API into your Laravel applications. It provides an easy-to-use interface for creating checkout sessions, handling payments, managing webhooks, and more.

Features
--------

[](#features)

- Create, retrieve, update, and capture payments
- Register, retrieve, update, and remove webhooks
- Integrated logging for API requests and responses
- Simple and intuitive interface

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

[](#installation)

To install the package, use Composer:

```
composer require osa-eg/laravel-tabby-integration
```

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

[](#configuration)

Publish the configuration file:

```
php artisan vendor:publish --provider="Osama\TabbyIntegration\Providers\TabbyServiceProvider"
```

In your `.env` file, add the following configurations:

```
TABBY_PUBLIC_KEY=your_public_key
TABBY_SECRET_KEY=your_secret_key
TABBY_MERCHANT_CODE=your_merchant_code
```

Usage
-----

[](#usage)

### Create a Checkout Session

[](#create-a-checkout-session)

Create a new checkout session with the given data.

```
use Osama\TabbyIntegration\Facades\Tabby;

$data = [
    // your checkout session data
];

$response = Tabby::createCheckoutSession($data);
```

Reference: [Post Checkout Session](https://api-docs.tabby.ai/#operation/postCheckoutSession)

### Retrieve a Payment

[](#retrieve-a-payment)

Retrieve a payment by its ID.

```
$paymentId = 'your_payment_id';
$response = Tabby::getPayment($paymentId);
```

Reference: [Get Payment](https://api-docs.tabby.ai/#operation/getPayment)

### Update a Payment

[](#update-a-payment)

Update a payment by its ID with new data.

```
$paymentId = 'your_payment_id';
$data = [
    // your update data
];

$response = Tabby::updatePayment($paymentId, $data);
```

Reference: [Update Payment](https://api-docs.tabby.ai/#operation/putPayment)

### Capture a Payment

[](#capture-a-payment)

Capture a payment by its ID.

```
$paymentId = 'your_payment_id';
$data = [
    // your capture data
];

$response = Tabby::capturePayment($paymentId, $data);
```

Reference: [Capture Payment](https://api-docs.tabby.ai/#operation/postPaymentCapture)

### Refund a Payment

[](#refund-a-payment)

Refund a payment by its ID.

```
$paymentId = 'your_payment_id';
$data = [
    // your refund data
];

$response = Tabby::refundPayment($paymentId, $data);
```

Reference: [Refund Payment](https://api-docs.tabby.ai/#operation/postPaymentRefund)

### List Payments

[](#list-payments)

Retrieve a list of payments with optional parameters.

```
$params = [
    // your query parameters
];

$response = Tabby::listPayments($params);
```

Reference: [List Payments](https://api-docs.tabby.ai/#operation/getPayments)

### Register a Webhook

[](#register-a-webhook)

Register a new webhook with the given data.

```
$data = [
    // your webhook data
];

$response = Tabby::registerWebhook($data);
```

Reference: [Post Webhook](https://api-docs.tabby.ai/#operation/postWebhook)

### List Webhooks

[](#list-webhooks)

Retrieve a list of webhooks.

```
$response = Tabby::listWebhooks();
```

Reference: [Get Webhooks](https://api-docs.tabby.ai/#operation/getWebhooks)

### Retrieve a Webhook

[](#retrieve-a-webhook)

Retrieve a specific webhook by its ID.

```
$webhookId = 'your_webhook_id';
$response = Tabby::getWebhook($webhookId);
```

Reference: [Get Webhook](https://api-docs.tabby.ai/#operation/getWebhook)

### Update a Webhook

[](#update-a-webhook)

Update a specific webhook by its ID with new data.

```
$webhookId = 'your_webhook_id';
$data = [
    // your update data
];

$response = Tabby::updateWebhook($webhookId, $data);
```

Reference: [Update Webhook](https://api-docs.tabby.ai/#operation/putWebhook)

### Remove a Webhook

[](#remove-a-webhook)

Remove a specific webhook by its ID.

```
$webhookId = 'your_webhook_id';
$response = Tabby::removeWebhook($webhookId);
```

Reference: [Delete Webhook](https://api-docs.tabby.ai/#operation/deleteWebhook)

Logging
-------

[](#logging)

The package integrates with Laravel's logging system to provide detailed logs of API requests and responses. Ensure you have a logger configured in your Laravel application to capture these logs.

License
-------

[](#license)

This package is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance49

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

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

Total

2

Last Release

378d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/825b6655f6531092c23fc440fcc15222385f7a41b3a2804cd17c3d23e1d760f4?d=identicon)[osa-eg](/maintainers/osa-eg)

---

Top Contributors

[![osa-eg](https://avatars.githubusercontent.com/u/76439995?v=4)](https://github.com/osa-eg "osa-eg (10 commits)")

### Embed Badge

![Health badge](/badges/osa-eg-laravel-tabby-integration/health.svg)

```
[![Health](https://phpackages.com/badges/osa-eg-laravel-tabby-integration/health.svg)](https://phpackages.com/packages/osa-eg-laravel-tabby-integration)
```

###  Alternatives

[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[karson/mpesa-php-sdk

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

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[henryejemuta/laravel-monnify

A laravel package to seamlessly integrate monnify api within your laravel application

132.1k](/packages/henryejemuta-laravel-monnify)

PHPackages © 2026

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