PHPackages                             skrskr/paymob - 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. skrskr/paymob

ActiveLibrary[Payment Processing](/categories/payments)

skrskr/paymob
=============

Laravel paymob payment gateway api integration

v1.0.3(2y ago)980↓100%1PHP

Since May 27Pushed 2y ago1 watchersCompare

[ Source](https://github.com/skrskr/paymob)[ Packagist](https://packagist.org/packages/skrskr/paymob)[ RSS](/packages/skrskr-paymob/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

Paymob Laravel Package
======================

[](#paymob-laravel-package)

This is a laravel package to facilate integartion with paymob apis [Paymob docs](https://docs.paymob.com/docs/accept-standard-redirect).

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

[](#installation)

1- You can install the package via composer:

```
composer require skrskr/paymob
```

2- Publish config file for editing if needed:

```
php artisan vendor:publish --tag=config --provider="Skrskr\Paymob\PaymobServiceProvider"
```

Usage
-----

[](#usage)

- Register new merchant account or login if you already have one ([Register](https://accept.paymob.com/portal2/en/register?flash=true)).
- Get Paymob credentials from Paymob Dashboard ([How](https://docs.paymob.com/docs/profile)) and update `.env` file.

```
PAYMOB_API_KEY             =
PAYMOB_CARD_INTEGRATION_ID =
PAYMOB_CARD_IFRAME_ID      =
PAYMOB_HMAC_SECRET         =

```

- Make payment and get iframe url from paymob

```
