PHPackages                             blognevis/payments - 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. blognevis/payments

ActiveLibrary[Payment Processing](/categories/payments)

blognevis/payments
==================

a combination of nowpayments plisio zarinpal

1.0.0(1y ago)026PHP

Since Aug 20Pushed 1y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (2)Used By (0)

Blognevis/Payments
==================

[](#blognevispayments)

`blognevis/payments` is a PHP package that integrates three payment libraries—Zarinpal, Plisio, and NowPayments—into a single, unified interface. This package simplifies the process of handling payments from multiple providers in your Laravel application.

Table of Contents
-----------------

[](#table-of-contents)

- [Description](#description)
- [Installation](#installation)
- [Usage](#usage)
- [Features](#features)
- [Configuration](#configuration)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)

Description
-----------

[](#description)

The `blognevis/payments` package provides a seamless way to manage payments through Zarinpal, Plisio, and NowPayments using a consistent API. It is built on top of these libraries, offering a unified approach to handle various payment processes, including requests and verifications.

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

[](#installation)

To install the package, run the following command using Composer:

```
composer require blognevis/payments

```

After installation, publish the configuration file with Artisan:

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

```

This will allow you to customize the package's settings according to your application's needs.

Usage
-----

[](#usage)

The package simplifies payment operations with easy-to-use routes and facades. Below is an example of how to request a payment using NowPayments and then verify it.

### Requesting a Payment

[](#requesting-a-payment)

```
Route::get('/request-nowpayments', function () {
    $params = [
        "price_amount" => 1000,
        "price_currency" => "usd",
        "order_id" => "RGDBP-21314",
        "order_description" => "Apple Macbook Pro 2019 x 1",
        "ipn_callback_url" => "https://nowpayments.io",
        "success_url" => url('/verify-nowpayments'),
        "cancel_url" => url('/verify-nowpayments')
    ];
    $res = (new Payment('nowpayments'))->pay($params);
    return redirect($res['payment_url']);
});

```

### Verifying a Payment

[](#verifying-a-payment)

```
Route::get('/verify-nowpayments', function () {
    $res = (new Payment('nowpayments'))->verify(request()->get('NP_id'));
    return response()->json($res);
});

```

### Accessing the Main Libraries

[](#accessing-the-main-libraries)

You can directly access the underlying payment libraries through the provided facades:

- `NowpaymentFacade`
- `PlisioPaymentFacade`
- `ZarinpalPaymentFacade`

This allows you to utilize the full capabilities of each payment library while still benefiting from the unified interface.

Features
--------

[](#features)

- **Unified Interface**: Combines Zarinpal, Plisio, and NowPayments into a single package for easier management.
- **Logging and Monitoring**: Provides a log route for monitoring payment activities.
- **Customizable Dashboard**: Access the log dashboard via `http://localhost:8000/blognevis-payments?dashboard_key=password`. The path and password can be customized in the configuration file.

Configuration
-------------

[](#configuration)

After publishing the configuration file, you can find it in the `config` directory of your Laravel application. Here, you can set the paths, credentials, and other settings necessary for integrating the payment gateways.

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

[](#contributing)

If you'd like to contribute to this project, please follow these steps:

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Make your changes.
4. Commit your changes (`git commit -am 'Add new feature'`).
5. Push to the branch (`git push origin feature-branch`).
6. Create a new Pull Request.

License
-------

[](#license)

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

Contact
-------

[](#contact)

For more information or support, feel free to contact us at \[\].

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

634d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c8600872556e878d3852b5bf5a31bf9c9a2c40136d794c7c053198cce3455fa?d=identicon)[arsae](/maintainers/arsae)

---

Top Contributors

[![arsae](https://avatars.githubusercontent.com/u/68208604?v=4)](https://github.com/arsae "arsae (50 commits)")

### Embed Badge

![Health badge](/badges/blognevis-payments/health.svg)

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

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