PHPackages                             mtgofa/laravel-paytabs - 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. mtgofa/laravel-paytabs

ActiveLibrary[Payment Processing](/categories/payments)

mtgofa/laravel-paytabs
======================

Laravel Paytabs

v2.0.1(3y ago)1611MITPHP

Since Aug 1Pushed 3y agoCompare

[ Source](https://github.com/mtgofa/laravel-paytabs)[ Packagist](https://packagist.org/packages/mtgofa/laravel-paytabs)[ RSS](/packages/mtgofa-laravel-paytabs/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (8)Used By (0)

Laravel Paytabs
===============

[](#laravel-paytabs)

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

[](#installation)

Begin by installing this package through Composer. Just run following command to terminal-

```
composer require mtgofa/laravel-paytabs
```

Once this operation completes the package will automatically be discovered for **Laravel 5.6 and above**, otherwise, the final step is to add the service provider. Open `config/app.php`, and add a new item to the providers array.

```
'providers' => [
	...
	MTGofa\Paytabs\PaytabsServiceProvider::class,
],
```

Now add the alias.

```
'aliases' => [
	...
	'Paytabs' => MTGofa\Paytabs\Facades\PaytabsFacade::class,
],
```

Don't forget to add your paytabs credentials into your .env file.

```
php artisan vendor:publish --provider="MTGofa\Paytabs\PaytabsServiceProvider"
```

Then fill in the credentials in `config/mtgofa-paytabs.php` file if you want instaed of env.

```
PAYTABS_PROFILE_ID=2****
PAYTABS_SERVER_KEY=S6****6D2J-J2Z****H6K-6T2****MW
PAYTABS_CHECKOUT_LANG=en
PAYTABS_CURRENCY=EGP

VERIFY_ROUTE_NAME=payment.verify
```

Example:
--------

[](#example)

### Create Payment Page:

[](#create-payment-page)

```
Route::get('payment/paytabs',  function () {
	$user = auth()->user();
	$result = Paytabs::pay(10.00, $user->id, $user->name, $user->email, $user->phone, [
		'customer_details' => [
			'country' => 'EG',
			'state' => 'C'
		]
	]);
	return $result;
});
```

### Verify Payment:

[](#verify-payment)

```
Route::get('payment/verify/{ref}',  function ($ref) {
	$result = Paytabs::verify($ref);
	return $result;
});
you will need to exclude your paytabs_response route from CSRF protection
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 51.4% 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 ~134 days

Recently: every ~180 days

Total

7

Last Release

1356d ago

Major Versions

1.8 → v2.0.02022-10-02

### Community

Maintainers

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

---

Top Contributors

[![mtgofa](https://avatars.githubusercontent.com/u/22940727?v=4)](https://github.com/mtgofa "mtgofa (19 commits)")[![maq89](https://avatars.githubusercontent.com/u/9713956?v=4)](https://github.com/maq89 "maq89 (16 commits)")[![danielwaghorn](https://avatars.githubusercontent.com/u/9108635?v=4)](https://github.com/danielwaghorn "danielwaghorn (2 commits)")

---

Tags

phplaravelpaymentgatewaypaytabsonlineEgypt

### Embed Badge

![Health badge](/badges/mtgofa-laravel-paytabs/health.svg)

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

###  Alternatives

[baklysystems/laravel-paymob

Laravel PayMob online payment gateway package

292.4k](/packages/baklysystems-laravel-paymob)[omalizadeh/laravel-multi-payment

A driver-based laravel package for online payments via multiple gateways

491.2k](/packages/omalizadeh-laravel-multi-payment)

PHPackages © 2026

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