alejobit / placetopay-pse-pimple
基于Pimple的PlacetoPay PSE服务提供商
v0.1.1
2017-01-02 20:35 UTC
Requires
- alejobit/placetopay-pse-php: ^0.1.0
- pimple/pimple: ^3.0
Requires (Dev)
- phpunit/phpunit: ^5.7
- silex/silex: ^2.0
- symfony/cache: ^3.2
This package is auto-updated.
Last update: 2024-09-25 11:25:51 UTC
README
基于Pimple的PlacetoPay PSE服务提供商
安装
要安装这个库,运行以下命令,您将获得最新版本
composer require alejobit/placetopay-pse-pimple
并在您的应用程序中启用它
use PlacetoPay\PSE\PSEServiceProvider; $app->register(new PSEServiceProvider(), array( 'pse.login' => '6dd490faf9cb87a9862245da41170ff2', 'pse.tranKey' => '024h1IlD', ));
此库假设已经定义了一个名为cache
的服务提供者,否则,必须按以下方式定义
// using symfony/cache as caching library use Symfony\Component\Cache\Adapter\FilesystemAdapter; $app['cache'] = function () { return new FilesystemAdapter(); };