PHP code example of paradox-nl / laravel-mollie

1. Go to this page and download the library: Download paradox-nl/laravel-mollie library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

paradox-nl / laravel-mollie example snippets


composer 

\ParadoxNL\Mollie\MollieServiceProvider::class

'Mollie' => \ParadoxNL\Mollie\Facades\Mollie::class,

php artisan vendor:publish

Mollie::createPayment(
	time(),
	10.00,
	'Some description',
	Mollie_API_Object_Method::IDEAL,
	['issuer' => "ideal_INGNL2A"],
	['extra' => 'data']
);

Mollie::isPaid(Illuminate\Http\Request $request)

Mollie::isOpen(Illuminate\Http\Request $request)

Mollie::history()

Mollie::getClient()->nativeMethod()
config/mollie.php