PHPackages                             petericebear/laravel-mollie - 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. petericebear/laravel-mollie

ActiveLibrary[Payment Processing](/categories/payments)

petericebear/laravel-mollie
===========================

Laravel 5 wrapper for payment provider mollie

v3.0.0(6y ago)121.9k2MITPHPCI failing

Since Mar 10Pushed 6y ago2 watchersCompare

[ Source](https://github.com/petericebear/laravel-mollie)[ Packagist](https://packagist.org/packages/petericebear/laravel-mollie)[ Docs](http://3ws.nl)[ RSS](/packages/petericebear-laravel-mollie/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (7)Versions (12)Used By (0)

Mollie API wrapper for Laravel 5.x
==================================

[](#mollie-api-wrapper-for-laravel-5x)

This is a package to integrate [Mollie](https://github.com/mollie/mollie-api-php) with Laravel 5.x. You can use it to easily manage your configuration, and use the Facade to provide shortcuts to the Mollie Client.

[![Build Status](https://camo.githubusercontent.com/9aa978c0c4e40dc5def62935b361145733511d927d3d3ff6c3db7cfe1afb2459/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7065746572696365626561722f6c61726176656c2d6d6f6c6c69652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/petericebear/laravel-mollie)[![StyleCI](https://camo.githubusercontent.com/a70ee1cf7e9538c60698e7b1c356cd01e5d6c14435eb795459724ada323a48c9/68747470733a2f2f7374796c6563692e696f2f7265706f732f35333537393136392f736869656c64)](https://styleci.io/repos/53579169)[![](https://camo.githubusercontent.com/c9240a7ae03396c8b0ed6f14d9c8154fb8a887189a15dbf71c232236723ee24d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7065746572696365626561722f6c61726176656c2d6d6f6c6c69652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572 "Scrutinizer Code Quality")](https://scrutinizer-ci.com/g/petericebear/laravel-mollie/)[![Code Coverage](https://camo.githubusercontent.com/d8613c2985d8aae05f03f69dcf2f1d8b577c1c848740315e71b28873590d4916/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7065746572696365626561722f6c61726176656c2d6d6f6c6c69652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/petericebear/laravel-mollie/)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/48ce65acaa4e57bbe6aab7c8916be4b552c1c7208dba86e5cd59bd701018b598/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7065746572696365626561722f6c61726176656c2d6d6f6c6c69652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/petericebear/laravel-mollie)[![Latest Version](https://camo.githubusercontent.com/3a6b8f8104d776b1f547c09845c99423473444f40bccc4b2e8a970b3e987b507/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7065746572696365626561722f6c61726176656c2d6d6f6c6c69652e7376673f7374796c653d666c61742d737175617265)](https://github.com/petericebear/laravel-mollie/releases)

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

[](#requirements)

To use the Mollie API client, the following things are required:

- Get yourself a free [Mollie account](https://www.mollie.com/dashboard/signup/1818551?lang=nl). No sign up costs.
- Create a new [Website profile](https://www.mollie.com/beheer/account/profielen/) to generate API keys (live and test mode) and setup your webhook.
- Now you're ready to use the Mollie API client in test mode.
- In order to accept payments in live mode, payment methods must be activated in your account. Follow [a few of steps](https://www.mollie.com/beheer/diensten), and let us handle the rest.
- PHP &gt;= 5.2 although Laravel itself requires a higher PHP version
- PHP cURL extension
- Up-to-date OpenSSL (or other SSL/TLS toolkit)
- SSL v3 disabled. Mollie does not support SSL v3 anymore.

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

[](#installation)

Via Composer

```
$ composer require petericebear/laravel-mollie
```

After updating composer, add the MollieServiceProvider to the providers array in config/app.php

```
PeterIcebear\Mollie\Providers\MollieServiceProvider::class,
```

You need to publish the config for this package. A sample configuration is provided. The defaults will be merged with gateway specific configuration.

```
$ php artisan vendor:publish --provider="PeterIcebear\Mollie\Providers\MollieServiceProvider"
```

To use the Facade (`\Mollie::getMethods()` instead of `App::make('mollie')->getMethods()`), add that to the facades array.

```
'Mollie' => PeterIcebear\Mollie\Facades\Mollie::class,
```

Usage of the wrapper
--------------------

[](#usage-of-the-wrapper)

Creating a new payment.

```
    $payment = Mollie::getPayments()->create([
        "amount"      => 10.00,
        "description" => "My first API payment",
        "redirectUrl" => "https://webshop.example.org/order/12345/",
    ]);
```

*After creation, the payment id is available in the `$payment->id` property. You should store this id with your order.*

Retrieving a payment.

```
    $payment = Mollie::getPayments()->get($payment->id);

    if ($payment->isPaid())
    {
        echo "Payment received.";
    }
```

Fully integrated iDEAL payments
-------------------------------

[](#fully-integrated-ideal-payments)

If you want to fully integrate iDEAL payments in your web site, some additional steps are required. First, you need to retrieve the list of issuers (banks) that support iDEAL and have your customer pick the issuer he/she wants to use for the payment.

Retrieve the list of issuers:

```
    $issuers = Mollie::getIssuers()->all();
```

\_`$issuers` will be a list of `Mollie_API_Object_Issuer` objects. Use the property `$id` of this object in the API call, and the property `$name` for displaying the issuer to your customer.

Create a payment with the selected issuer:

```
    $payment = Mollie::getPayments()->create(array(
        "amount"      => 10.00,
        "description" => "My first API payment",
        "redirectUrl" => "https://webshop.example.org/order/12345/",
        "method" => Mollie_API_Object_Method::IDEAL,
        "issuer" => $selected_issuer_id, // e.g. "ideal_INGBNL2A"
    ));
```

*The `links` property of the `$payment` object will contain a string `paymentUrl`, which is a URL that points directly to the online banking environment of the selected issuer.*

Refunding payments
------------------

[](#refunding-payments)

The API also supports refunding payments. Note that there is no confirmation and that all refunds are immediate and definitive. Refunds are only supported for iDEAL, credit card, Bancontact/Mister Cash, SOFORT Banking and bank transfer payments. Other types of payments cannot be refunded through our API at the moment.

```
    $payment = Mollie::getPayments()->get($payment->id);

    // Refund € 15 of this payment
    $refund = Mollie::getPayments()->refund($payment, 15.00);
```

More information
----------------

[](#more-information)

Please use the official documentation of Mollie of one off the following resources:

- [Official Mollie API](https://github.com/mollie/mollie-api-php)
- [Dutch Documentation](https://www.mollie.com/nl/docs/overview)
- [English Documentation](https://www.mollie.com/en/docs/overview)

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 81% 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

Every ~127 days

Recently: every ~238 days

Total

11

Last Release

2489d ago

Major Versions

v0.1.3 → v1.0.02016-03-12

v1.1.0 → v2.0.02017-01-25

2.3.0 → v3.0.02019-09-06

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/339796?v=4)[Peter Steenbergen](/maintainers/petericebear)[@petericebear](https://github.com/petericebear)

---

Top Contributors

[![petericebear](https://avatars.githubusercontent.com/u/339796?v=4)](https://github.com/petericebear "petericebear (34 commits)")[![jdanino](https://avatars.githubusercontent.com/u/10063518?v=4)](https://github.com/jdanino "jdanino (5 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (3 commits)")

---

Tags

composer-packageslaravelmolliemollie-clientpackagepaymentlaravelmollie

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3634.4M33](/packages/mollie-laravel-mollie)[mollie/laravel-cashier-mollie

Laravel Cashier provides an expressive, fluent interface to Mollie's subscription billing services.

177185.5k1](/packages/mollie-laravel-cashier-mollie)

PHPackages © 2026

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