PHPackages                             mariojgt/gateway - 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. mariojgt/gateway

ActiveLaravel[Payment Processing](/categories/payments)

mariojgt/gateway
================

This Package was desing to integrate payments gateway with the application

2.4.1(4y ago)11051MITBladePHP ^7.3|^8.0

Since May 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mariojgt/gateway)[ Packagist](https://packagist.org/packages/mariojgt/gateway)[ RSS](/packages/mariojgt-gateway/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (1)Dependencies (3)Versions (5)Used By (0)

[![image info](https://raw.githubusercontent.com/mariojgt/gateway/main/Publish/Art/logo.png)](https://raw.githubusercontent.com/mariojgt/gateway/main/Publish/Art/logo.png)

Laravel Gateway laravel 9 compatible
====================================

[](#laravel-gateway-laravel-9-compatible)

\#composer require mariojgt/gateway

This is a Laravel package design to make checkout easy and clean to implement, avaliable integration (Stripe), in the future we going to have some more integrations with others gateways, the paypal is almost there

How to use
----------

[](#how-to-use)

In you blade file do the following

1. &lt;x-gateway::pay\_stripe /&gt; This component will add all the javascript methods so we can generate a session and redirect the user.
2. On you button you need to add this method RegenerateSessionAndRedirect

    ```
      'kit kat',
                    'description' => 'Kit kat product',
                    'images'      => ['https://www.kitkat.com/images/main-logo-snap.png'],
                    'amount'      => 500, // Amount in pence value * 100
                    'currency'    => config('gateway.currency'),
                    'quantity'    => 2,
                ],
            ];
            // Send the cart item so stripe can create a valid session
            $session      = $stipeManager->process($cartItem);
            // Return a stripe session so we can use in the front end to redirect the user
            return response()->json([
                'session' => $session->id,
            ]);
        }
    ```

    This code will return a json session that we can use in the javascript
5. You Can also check the session status using

```
use Mariojgt\Gateway\Controllers\StripeContoller;
$stipeManager = new StripeContoller();
$session      = $stipeManager->checkSession('Session_id');
```

This will return the session information and the payment information.

Notes:

In Production disable the website demo buy changing the key value demo\_mode to false in the gateway config file.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

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

Every ~216 days

Total

4

Last Release

1542d ago

Major Versions

1.1 → 2.3.72022-02-03

PHP version history (2 changes)1.1PHP &gt;=7.2.5

2.3.7PHP ^7.3|^8.0

### Community

Maintainers

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

---

Top Contributors

[![mariojgt](https://avatars.githubusercontent.com/u/7347012?v=4)](https://github.com/mariojgt "mariojgt (69 commits)")

---

Tags

cashiereasy-to-usegatewaygocardlesslaravelpaymentpayment-gatewaypaypal-laravelphpstripelaravel

### Embed Badge

![Health badge](/badges/mariojgt-gateway/health.svg)

```
[![Health](https://phpackages.com/badges/mariojgt-gateway/health.svg)](https://phpackages.com/packages/mariojgt-gateway)
```

###  Alternatives

[simonhamp/laravel-stripe-connect

1343.1k](/packages/simonhamp-laravel-stripe-connect)[lunarphp/stripe

Stripe payment driver for Lunar.

2055.8k4](/packages/lunarphp-stripe)[andreia/filament-stripe-payment-link

Filament action to generate a Stripe payment link

141.9k](/packages/andreia-filament-stripe-payment-link)

PHPackages © 2026

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