PHPackages                             aliwebto/easy-payment - 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. aliwebto/easy-payment

ActiveLibrary[Payment Processing](/categories/payments)

aliwebto/easy-payment
=====================

Laravel Payment Package For Iranian

v1.0.0(2y ago)17MITPHPPHP ^7.4|^8.0

Since Jul 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/aliwebto/easy-payments)[ Packagist](https://packagist.org/packages/aliwebto/easy-payment)[ Docs](https://github.com/aliwebto/easy-payment)[ RSS](/packages/aliwebto-easy-payment/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (2)Used By (0)

Very short description of the package
=====================================

[](#very-short-description-of-the-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2e856fd39547e3716a2a70a9eaf1cbe6cb599bcd3abbd39658d456a0d06b47ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c69776562746f2f656173792d7061796d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aliwebto/easy-payment)[![Total Downloads](https://camo.githubusercontent.com/a4ea6682e379787ab98b0e39dc3b80ba4067b2f6f1db85544d08875fcc1e383b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c69776562746f2f656173792d7061796d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aliwebto/easy-payment)[![GitHub Actions](https://github.com/aliwebto/easy-payment/actions/workflows/main.yml/badge.svg)](https://github.com/aliwebto/easy-payment/actions/workflows/main.yml/badge.svg)

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

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

[](#installation)

You can install the package via composer:

```
composer require aliwebto/easy-payment
php artisan vendor:publish --provider="Aliwebto\EasyPayment\EasyPaymentServiceProvider"
php artisan migrat

// set your configs to config/easy-payment.php
```

Usage
-----

[](#usage)

```
// payable model - use Payable trait in your payable model  Ex: invoice.
use \Aliwebto\EasyPayment\Payable;

// you have to make a payable model like invoice and relate it to users . then create invoice and pass to easy payment

// create transaction and get data
use Aliwebto\EasyPayment\EasyPayment
$payable = \App\Models\Invoice::find(1);
$amount = $payable->price;
$description = "description of payment";
$easyPayments = EasyPayment::pay($payable,$amount,$description);
return redirect($easyPayments["pay_url"]);

// check transaction is paid
use Aliwebto\EasyPayment\EasyPayment
$payable = \App\Models\Product::find(1);
$payable->isPaid(); // bool
```

### Changelog

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Alireza Zarei](https://github.com/aliwebto)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1023d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ded84d8dbce7f0932273039d7541e799616478117b026b436662e2bc5b8833a?d=identicon)[aliwebto](/maintainers/aliwebto)

---

Top Contributors

[![aliwebto](https://avatars.githubusercontent.com/u/70484690?v=4)](https://github.com/aliwebto "aliwebto (11 commits)")

---

Tags

aliwebtoeasy-payment

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/aliwebto-easy-payment/health.svg)

```
[![Health](https://phpackages.com/badges/aliwebto-easy-payment/health.svg)](https://phpackages.com/packages/aliwebto-easy-payment)
```

###  Alternatives

[laraveldaily/laravel-invoices

Missing invoices for Laravel

1.5k1.3M4](/packages/laraveldaily-laravel-invoices)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

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