PHPackages                             yahrdy/aamarpay - 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. yahrdy/aamarpay

ActiveLibrary[Payment Processing](/categories/payments)

yahrdy/aamarpay
===============

Laravel package for aamarpay payment gateway

02.1k[3 PRs](https://github.com/yeasirhridoy/laravel-aamarpay/pulls)PHP

Since Dec 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/yeasirhridoy/laravel-aamarpay)[ Packagist](https://packagist.org/packages/yahrdy/aamarpay)[ RSS](/packages/yahrdy-aamarpay/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

Laravel package for aamarpay payment gateway
============================================

[](#laravel-package-for-aamarpay-payment-gateway)

Laravel aamarpay is a laravel package for aamarpay payment gateway.

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

[](#installation)

You can install the package via composer:

```
composer require yahrdy/aamarpay
```

You can publish the config file with:

```
php artisan vendor:publish --tag="aamarpay-config"
```

This is the contents of the published config file:

```
return [
    'url' => env('AAMARPAY_SERVER_URL', 'https://sandbox.aamarpay.com/request.php'),
    'verify_url' => env('AAMARPAY_VERIFY_URL', 'https://sandbox.aamarpay.com/api/v1/trxcheck/request.php'),
    'store_id' => env('AAMARPAY_STORE_ID', 'aamarpaytest'),
    'signature_key' => env('AAMARPAY_SIGNATURE_KEY', 'dbb74894e82415a2f7ff0ec3a97e4183'),
    'success_url' => env('AAMARPAY_SUCCESS_URL', 'http://localhost:8000/api/verify'),
    'cancel_url' => env('AAMARPAY_CANCEL_URL', 'http://localhost:8000/api/verify'),
    'fail_url' => env('AAMARPAY_FAIL_URL', 'http://localhost:8000/api/verify'),
];
```

Usage
-----

[](#usage)

```
// Use the facade to initiate a payment, it will return a redirect url
public function checkout(){
        return Aamarpay::checkout($amount, $name, $address, $phone, $value1 = null, $value2 = null, $value3 = null, $value4 = null);
    }

// To verify the payment, keep the redirect post parameter in the request
// This will return a json response with the payment information
public function verify(Request $request){
        return Aamarpay::verify($request);
    }
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Yeasir Arafat](https://github.com/yeasirhridoy)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 53.8% 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/8488b91a29acc1afc6b7e7711bd07161d287bdce49f50f4085e61570ea2c0118?d=identicon)[hridoy](/maintainers/hridoy)

---

Top Contributors

[![yeasirhridoy](https://avatars.githubusercontent.com/u/26745355?v=4)](https://github.com/yeasirhridoy "yeasirhridoy (14 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")[![yeasirarafatdev](https://avatars.githubusercontent.com/u/90312224?v=4)](https://github.com/yeasirarafatdev "yeasirarafatdev (1 commits)")

### Embed Badge

![Health badge](/badges/yahrdy-aamarpay/health.svg)

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

###  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)
