alejobit/placetopay-pse-pimple

PlacetoPay PSE service provider for Pimple based project

v0.1.1 2017-01-02 20:35 UTC

This package is auto-updated.

Last update: 2024-03-25 10:25:31 UTC


README

PlacetoPay PSE service provider for Pimple based project

Installattion

To install this library, run the command below and you will get the latest version:

composer require alejobit/placetopay-pse-pimple

And enable it in your application:

use PlacetoPay\PSE\PSEServiceProvider;

$app->register(new PSEServiceProvider(), array(
    'pse.login' => '6dd490faf9cb87a9862245da41170ff2',
    'pse.tranKey' => '024h1IlD',
));

This library assumes that a service provider called cache has been defined, otherwise, it must be defined as follows:

// using symfony/cache as caching library
use Symfony\Component\Cache\Adapter\FilesystemAdapter;

$app['cache'] = function () {
    return new FilesystemAdapter();
};