PHPackages                             karwankhalid/fastpay - 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. karwankhalid/fastpay

ActiveLibrary[Payment Processing](/categories/payments)

karwankhalid/fastpay
====================

Laravel Package for Fastpay Payment Gateway API

413[1 issues](https://github.com/KarwanKhalid/Fastpay/issues)PHP

Since Jul 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/KarwanKhalid/Fastpay)[ Packagist](https://packagist.org/packages/karwankhalid/fastpay)[ RSS](/packages/karwankhalid-fastpay/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

KarwanKhalid\\Fastpay
=====================

[](#karwankhalidfastpay)

Laravel Package for the Fastpay Payment Gateway API

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

[](#installation)

You will need [composer](https://getcomposer.org/) to install Fastpay. Then publish assets and migrate the table for payment records.

```
composer require "KarwanKhalid/Fastpay" --no-cache
php artisan vendor:publish
php artisan migrate
```

I haven't tested it below Laravel 5.5 . If you wanna try in below Laravel 5.5 , you will need to edit **config/app.php** and add the following line in the providers section.

```
KarwanKhalid\Fastpay\FastpayServiceProvider::class
```

Add the following constants in the **.env** file of your Laravel Project.

For Live

```
API_DOMAIN_URL=https://secure.fast-pay.cash
MERCHANT_MOBILE_NO=PUT_YOUR_MERCHANT_MOBILE_NO
STORE_PASSWORD=PUT_YOUR_STORE_PASSWORD
IS_LOCALHOST=false
```

For SANDBOX

```
API_DOMAIN_URL=https://dev.fast-pay.cash
MERCHANT_MOBILE_NO="+9641684405075"
STORE_PASSWORD="Password1@"
IS_LOCALHOST=true
```

Clear config cache if required.

```
php artisan config:cache
```

That's it! Enjoy!

Usage
-----

[](#usage)

- Go to ** for testing the Payment from Fastpay site.

For listening to the payment event, open your **app/Providers** directory and add your own listener for the **FastpayPaymentComplete** event class.

Changelog
---------

[](#changelog)

### 1.0.0-alpha

[](#100-alpha)

- Initial Release

Note
----

[](#note)

- I don't have any live Fastpay store. So could not test that. Please open an issue if you face any problem with **LIVE** payments so I can test with you and fix that.

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e1cc76a0d3d8a074de4347df99fe20b31e035bdfc734939189bd7be9112c93e?d=identicon)[KarwanKhalid](/maintainers/KarwanKhalid)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/karwankhalid-fastpay/health.svg)

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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