PHPackages                             multisafepay/laravel-api - 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. multisafepay/laravel-api

ActiveLibrary[Payment Processing](/categories/payments)

multisafepay/laravel-api
========================

Package for Laravel which wraps the MultiSafepay PHP-SDK

1.2.0(2y ago)543.6k—1.2%2[1 PRs](https://github.com/MultiSafepay/laravel-api/pulls)1MITPHP

Since Sep 11Pushed 2y ago4 watchersCompare

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

READMEChangelog (1)Dependencies (4)Versions (5)Used By (1)

 [![](https://camo.githubusercontent.com/517483ae0eaba9884f397e9af1c4adc7bbc231575ac66cc54292e00400edcd10/68747470733a2f2f7777772e6d756c7469736166657061792e636f6d2f66696c6561646d696e2f74656d706c6174652f696d672f6d756c7469736166657061792d6c6f676f2d69636f6e2e737667)](https://camo.githubusercontent.com/517483ae0eaba9884f397e9af1c4adc7bbc231575ac66cc54292e00400edcd10/68747470733a2f2f7777772e6d756c7469736166657061792e636f6d2f66696c6561646d696e2f74656d706c6174652f696d672f6d756c7469736166657061792d6c6f676f2d69636f6e2e737667)

MultiSafepay package for Laravel
================================

[](#multisafepay-package-for-laravel)

This is a package for Laravel which wraps the [MultiSafepay/php-sdk](https://github.com/MultiSafepay/php-sdk) for easy integration with MultiSafepay. The package:

- Supports automatically loading API settings from the Laravel configuration
- Is callable by either the helper methods, a service container, or through a dedicated facade
- Is compatible with Laravel Lumen

[![Latest stable version](https://camo.githubusercontent.com/234c300d6e1aaec5762fe83a7e3b5c919df116fb297d61e482089a320f0debca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d756c7469736166657061792f6c61726176656c2d617069)](https://packagist.org/packages/multisafepay/laravel-api)

About MultiSafepay
------------------

[](#about-multisafepay)

MultiSafepay is a collecting payment service provider, which means we take care of electronic contracts, technical details, and payment collection for each payment method. You can start selling online today and manage all your transactions in one place.

Installation (Laravel 7/8/9/10)
-------------------------------

[](#installation-laravel-78910)

Run `composer require multisafepay/laravel-api http-interop/http-factory-guzzle`.

Lumen
-----

[](#lumen)

### Provider

[](#provider)

Register the following provider in the `bootstrap/app.php`. file:

```
$app->register(\MultiSafepay\Laravel\MultiSafepayServiceProvider::class);
```

### Facades

[](#facades)

To enable facades, register them in the `bootstrap/app.php`.

```
$app->withFacades(true,  [
"MultiSafepay\\Laravel\\Facades\\MultiSafepay" => "MultiSafepay",
"MultiSafepay\\Laravel\\Facades\\MultiSafepayOrders" => "MultiSafepayOrders",
"MultiSafepay\\Laravel\\Facades\\MultiSafepayGateways" => "MultiSafepayGateways",
"MultiSafepay\\Laravel\\Facades\\MultiSafepayIssuers" => "MultiSafepayIssuers",
]);
```

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

[](#configuration)

In your `.env` file, set the following environment variables:

- `MULTISAFEPAY_APIKEY`

Set this to your [site API key](https://docs.multisafepay.com/docs/sites#site-id-api-key-and-security-code):

- `MULTISAFEPAY_ENVIRONMENT`

Set this to `live` or `test` depending on whether you want to process transactions on our LIVE or TEST platform.

Example
-------

[](#example)

You can use the transaction API in 3 ways:

```
//Using helper function
$transaction = multisafepayTransactionManager('apikey', 'environment')->get('id');
//Using service container
$transactionManager = $app->makeWith(TransactionManager::class, ['apikey' => 'xxxx', 'environment' => 'live']);
$transaction = $transactionManager->get('id');
//Using facade accessor
$transaction = MultiSafepayTransactionManager::get('id');
```

Support
-------

[](#support)

Create an issue on this repository or email [](mailto:integration@multisafepay.com)

Contributors
------------

[](#contributors)

To contribute, create a pull request on this repository. We'll send you some MultiSafepay swag as a thank you!

License
-------

[](#license)

[Open Software License (OSL 3.0)](https://github.com/MultiSafepay/laravel-api/blob/master/LICENSE.md)

Want to be part of the team?
----------------------------

[](#want-to-be-part-of-the-team)

Are you a developer interested in working at MultiSafepay? Check out our [job openings](https://www.multisafepay.com/careers/#jobopenings) and feel free to get in touch!

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~569 days

Total

3

Last Release

935d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2191df32ae1d7f2d5559e91e73bf29e8b003b368917a0985afcb3c4e23de8587?d=identicon)[MSP](/maintainers/MSP)

---

Top Contributors

[![Jasper-MultiSafepay](https://avatars.githubusercontent.com/u/26003384?v=4)](https://github.com/Jasper-MultiSafepay "Jasper-MultiSafepay (5 commits)")[![mikededecker1](https://avatars.githubusercontent.com/u/41482163?v=4)](https://github.com/mikededecker1 "mikededecker1 (4 commits)")[![danielcivit](https://avatars.githubusercontent.com/u/64795062?v=4)](https://github.com/danielcivit "danielcivit (2 commits)")[![Lars-MultiSafepay](https://avatars.githubusercontent.com/u/48061444?v=4)](https://github.com/Lars-MultiSafepay "Lars-MultiSafepay (1 commits)")

### Embed Badge

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

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

###  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/braintree

Braintree gateway for Omnipay payment processing library

35558.0k3](/packages/omnipay-braintree)

PHPackages © 2026

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