PHPackages                             gauravjain028/omnipay-ameria - 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. gauravjain028/omnipay-ameria

ActiveLibrary[Payment Processing](/categories/payments)

gauravjain028/omnipay-ameria
============================

Ameria gateway for Omnipay payment processing library

v1.0.2(4y ago)025.0k2MITPHPPHP 8.\*

Since Nov 2Pushed 4y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Omnipay: Ameria
===============

[](#omnipay-ameria)

**Ameria driver for the Omnipay Laravel payment processing library**

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.5+. This package implements Ameria support for Omnipay.

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
    "require": {
        "gauravjain028/omnipay-ameria": "dev-master"
    }
}
```

And run composer to update your dependencies:

```
composer update

```

Or you can simply run

```
composer require gauravjain028/omnipay-ameria

```

Basic Usage
-----------

[](#basic-usage)

1. Use Omnipay gateway class:

```
    use Omnipay\Omnipay;
```

2. Initialize Ameria gateway:

```
    $gateway = Omnipay::create('Ameria');
    $gateway->setClientId(env('AMERIA_CLIENT_ID'));
    $gateway->setUsername(env('AMERIA_USERNAME'));
    $gateway->setPassword(env('AMERIA_PASSWORD'));
    $gateway->setReturnUrl(env('AMERIA_RETURN_URL')); // Return url, that should be point to your ameria webhook route
    $gateway->setLanguage(\App::getLocale()); // Language
    $gateway->setAmount(10); // Amount to charge
    $gateway->setTransactionId(XXXX); // Transaction ID from your system
```

3. Call purchase, it will automatically redirect to Ameria's hosted page

```
    $purchase = $gateway->purchase()->send();
    $purchase->redirect();
```

4. Create a webhook controller to handle the callback request at your `AMERIA_RESULT_URL` and catch the webhook as follows

```
    $gateway = Omnipay::create('Ameria');
    $gateway->setUsername(env('AMERIA_USERNAME'));
    $gateway->setPassword(env('AMERIA_PASSWORD'));

    $purchase = $gateway->completePurchase()->send();

    // Do the rest with $purchase and response with 'OK'
    if ($purchase->isSuccessful()) {

        // Your logic

    }

    return new Response('OK');
```

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay)repository.

Support
-------

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you want to keep up to date with release announcements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~49 days

Total

3

Last Release

1555d ago

PHP version history (3 changes)v1.0.0PHP ^7.1

v1.0.1PHP ^8.1

v1.0.2PHP 8.\*

### Community

Maintainers

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

---

Top Contributors

[![gauravjain028](https://avatars.githubusercontent.com/u/2246860?v=4)](https://github.com/gauravjain028 "gauravjain028 (4 commits)")[![gaurav-ucraft](https://avatars.githubusercontent.com/u/59954080?v=4)](https://github.com/gaurav-ucraft "gaurav-ucraft (1 commits)")

---

Tags

paymentgatewaypaymerchantomnipaypurchasearcaAmeria

### Embed Badge

![Health badge](/badges/gauravjain028-omnipay-ameria/health.svg)

```
[![Health](https://phpackages.com/badges/gauravjain028-omnipay-ameria/health.svg)](https://phpackages.com/packages/gauravjain028-omnipay-ameria)
```

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)

PHPackages © 2026

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