Registry / http-client / mollie-mollie-api-php

mollie-mollie-api-php

JSON →
library3.13.1phppackagistunverified

Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.

composer require mollie/mollie-api-php
INSTALL
IMPORT
SIG · MOLLIE-MOLLIE-API-
M
mollie-mollie-api-php
http-clientphpv3.13.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MollieApiClient
use Mollie\Api\MollieApiClient;

Create a payment with Mollie API

use Mollie\Api\MollieApiClient; $mollie = new MollieApiClient(); $mollie->setApiKey('test_dHar4XY7LxsDOt2kVbTT3c6E'); $payment = $mollie->payments->create([ 'amount' => ['currency' => 'EUR', 'value' => '10.00'], 'description' => 'Order #12345', 'redirectUrl' => 'https://example.com/return', ]); echo $payment->getCheckoutUrl();
Debug
Known issues
breakingRequires PHP 7.2+ and cURL extension
fix
Ensure your environment meets PHP version and cURL requirements
affects: >=3.0.0
Upgrade
Version history
3.13.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
mollie-mollie-api-php — pip install mollie-mollie-api-php · libregistry