PHPackages                             mnpy/mnpy-laravel - 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. [API Development](/categories/api)
4. /
5. mnpy/mnpy-laravel

ActiveLibrary[API Development](/categories/api)

mnpy/mnpy-laravel
=================

Laravel wrapper for the PHP API SDK of MNPY.

v0.1.0(8y ago)0121PHPPHP &gt;=7.0

Since Mar 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/MNPY/mnpy-laravel)[ Packagist](https://packagist.org/packages/mnpy/mnpy-laravel)[ RSS](/packages/mnpy-mnpy-laravel/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

MNPY SDK Laravel Wrapper
========================

[](#mnpy-sdk-laravel-wrapper)

> Laravel 5 wrapper around the MNPY SDK

Requirements
------------

[](#requirements)

- PHP &gt;= 7.0
- A [MNPY](https://mnpy.io/) account

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

[](#installation)

Add the package to the requirements of your composer file.

```
composer require mnpy/mnpy-laravel
```

Add the Service Provider to your `config/app.php` (not applicable for Laravel 5.5 and higher)

```
MNPY\Laravel\MNPYServiceProvider::class
```

If you wish to use Facades instead of Dependency Injection you should add the following to your `config/app.php` file.

```
'MNPYTransaction' => MNPY\Laravel\Facades\MNPYTransaction::class,
'MNPYPrice' => MNPY\Laravel\Facades\MNPYPrice::class
'MNPYToken' => MNPY\Laravel\Facades\MNPYToken::class
```

Now publish the config (or add `MNPY_API_KEY` to your .env file)

```
php artisan vendor:publish --provider="MNPY\Laravel\MNPYServiceProvider"
```

Usage
-----

[](#usage)

This package serves as wrapper for [mnpy/mnpy-php-api-sdk](https://github.com/MNPY/mnpy-php-api-sdk). Please refer to the original package for documentation regarding usage.

---

Depency Injection

```
use MNPY\SDK\Transaction;

class Foo {
    protected $transaction;

    public function __construct(Transaction $transaction) {
        $this->transaction = $transaction;
    }

    public function bar($transaction_id) {
        return $this->transaction->get($transaction_id);
    }
}
```

Facades

```
use MNPY\Laravel\Facades\MNPYTransaction;

class Foo {
    protected $transaction;

    public function bar($transaction_id) {
        return MNPYTransaction::get($transaction_id);
    }
}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

2975d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80b5461d2c86952bce8480c9d538ca9027eb15c10c30195e9c06cfa8de9eb8d5?d=identicon)[mnpy](/maintainers/mnpy)

---

Top Contributors

[![chefbuitenhuis](https://avatars.githubusercontent.com/u/7578636?v=4)](https://github.com/chefbuitenhuis "chefbuitenhuis (4 commits)")[![ruthgeridema](https://avatars.githubusercontent.com/u/13556910?v=4)](https://github.com/ruthgeridema "ruthgeridema (1 commits)")

---

Tags

laravellaravel-5-packagelaravel-frameworkphpphp71php72

### Embed Badge

![Health badge](/badges/mnpy-mnpy-laravel/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M479](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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