PHPackages                             swissfreecommerce/monopay-merchant-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. [Payment Processing](/categories/payments)
4. /
5. swissfreecommerce/monopay-merchant-laravel

ActiveLibrary[Payment Processing](/categories/payments)

swissfreecommerce/monopay-merchant-laravel
==========================================

A PHP wrapper for Swiss free commerce payment API

1142PHP

Since Oct 20Pushed 3y ago2 watchersCompare

[ Source](https://github.com/swissfreecommerce/monopay-merchant-laravel)[ Packagist](https://packagist.org/packages/swissfreecommerce/monopay-merchant-laravel)[ RSS](/packages/swissfreecommerce-monopay-merchant-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Monopay Merchant for laravel
============================

[](#monopay-merchant-for-laravel)

This package enables Laravel to communicate with the [Monopay payment system](https://payment.monopon.net)

Install via composer
--------------------

[](#install-via-composer)

Run the following command to pull in the latest version:

```
composer require swissfreecommerce/monopay-merchant-laravel
```

### Add service provider ( Laravel 5.4 or below )

[](#add-service-provider--laravel-54-or-below-)

Add the service provider to the providers array in the config/app.php config file as follows:

```
'providers' => [

    ...

    SwissFreeCommerce\PaymentMerchant\Providers\MonopayServiceProvider::class,
]
```

### Publish the config

[](#publish-the-config)

Copy the `config` file from `vendor/swissfreecommerce/monopay-merchant-laravel/config/config.php` to `config` folder of your Laravel application and rename it to `monopay.php`

Run the following command to publish the package config file:

```
php artisan vendor:publish --provider="SwissFreeCommerce\PaymentMerchant\Providers\MonopayServiceProvider"
```

You should now have a `config/monopay.php` file that allows you to configure the basics of this package.

Documentation
-------------

[](#documentation)

### Get Currency

[](#get-currency)

In order to receive all the currencies, a request must be sent in the following form

```
use MonopayService;
```

```
$service = new MonopayService;

$result = $service->getCurrency();
```

### Merchant Request

[](#merchant-request)

To send a request, the request must be sent in the following form

```
use MonopayService;
use SwissFreeCommerce\PaymentMerchant\Data\DataRequest;
```

```
$service = new MonopayService;

$data = new DataRequest('currency iso code', 'order id in your system', 'float amount');

$result = $service->request($data);
```

### Merchant Verify

[](#merchant-verify)

To send a verify, the request must be sent in the following form

```
use MonopayService;
use SwissFreeCommerce\PaymentMerchant\Data\TrackingCode;
```

```
$service = new MonopayService;

$data = new TrackingCode('tracking code');

$result = $service->verify($data);
```

### Merchant Status

[](#merchant-status)

To send a status, the request must be sent in the following form

```
use MonopayService;
use SwissFreeCommerce\PaymentMerchant\Data\TrackingCode;
```

```
$service = new MonopayService;

$data = new TrackingCode('tracking code');

$result = $service->status($data);
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity24

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.

### Community

Maintainers

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

---

Top Contributors

[![MajidMohammadian](https://avatars.githubusercontent.com/u/2099965?v=4)](https://github.com/MajidMohammadian "MajidMohammadian (8 commits)")

### Embed Badge

![Health badge](/badges/swissfreecommerce-monopay-merchant-laravel/health.svg)

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

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