PHPackages                             maq89/paytabs-symfony - 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. maq89/paytabs-symfony

ActiveSymfony-bundle[Payment Processing](/categories/payments)

maq89/paytabs-symfony
=====================

A Paytabs Payment bundle

1.0.0(7y ago)05731[1 PRs](https://github.com/maq89/paytabs-symfony/pulls)LGPL-3.0PHP

Since Jul 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/maq89/paytabs-symfony)[ Packagist](https://packagist.org/packages/maq89/paytabs-symfony)[ RSS](/packages/maq89-paytabs-symfony/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Paytabs Symfony
===============

[](#paytabs-symfony)

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

[](#installation)

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

```
composer require maq89/paytabs-symfony
```

Enable the bundle in the kernel, goto app/AppKernel.php

```
$bundles = array(
	// ...
	new Damas\PaytabsBundle\DamasPaytabsBundle(),
	// ...
);
```

Use Namespace

```
use Damas\PaytabsBundle\Util\Paytabs;
```

Example:
--------

[](#example)

### Create Payment Page:

[](#create-payment-page)

```
$pt = Paytabs::getInstance("MERCHANT_EMAIL", "SECRET_KEY");
$result = $pt->create_pay_page(array(
	"merchant_email" => "MERCHANT_EMAIL",
	'secret_key' => "SECRET_KEY",
	'title' => "John Doe",
	'cc_first_name' => "John",
	'cc_last_name' => "Doe",
	'email' => "customer@email.com",
	'cc_phone_number' => "973",
	'phone_number' => "33333333",
	'billing_address' => "Juffair, Manama, Bahrain",
	'city' => "Manama",
	'state' => "Capital",
	'postal_code' => "97300",
	'country' => "BHR",
	'address_shipping' => "Juffair, Manama, Bahrain",
	'city_shipping' => "Manama",
	'state_shipping' => "Capital",
	'postal_code_shipping' => "97300",
	'country_shipping' => "BHR",
	"products_per_title"=> "Mobile Phone",
	'currency' => "BHD",
	"unit_price"=> "10",
	'quantity' => "1",
	'other_charges' => "0",
	'amount' => "10.00",
	'discount'=>"0",
	"msg_lang" => "english",
	"reference_no" => "1231231",
	"site_url" => "https://your-site.com",
	'return_url' => "http://127.0.0.1:8000/paytabs-response",
	"cms_with_version" => "API USING PHP"
));

if($result->response_code == 4012){
	return $this->redirect($result->payment_url);
}
else{
	throw new \Exception($result->result);
}
```

### Verify Payment:

[](#verify-payment)

```
$pt = Paytabs::getInstance("MERCHANT_EMAIL", "SECRET_KEY");
$result = $pt->verify_payment($request->request->get('payment_reference'));
if($result->response_code == 100){
	// Payment Success
}
else{
	throw new \Exception($result->result);
}
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

2910d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79251d2ce16740eb1865236069d11687804bf3f0fddd247cec611119547d268e?d=identicon)[maq89](/maintainers/maq89)

---

Top Contributors

[![maq89](https://avatars.githubusercontent.com/u/9713956?v=4)](https://github.com/maq89 "maq89 (3 commits)")

---

Tags

paytab bundle

### Embed Badge

![Health badge](/badges/maq89-paytabs-symfony/health.svg)

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

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)

PHPackages © 2026

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