xutl / laravel-payment
This is a Laravel expansion for the Payment.
dev-master / 1.0.x-dev
2018-12-27 08:33 UTC
Requires
- php: >=7.0
- ext-dom: *
- ext-json: *
- ext-libxml: *
- ext-openssl: *
- ext-simplexml: *
- xutl/supports: ^1.0
This package is auto-updated.
Last update: 2024-11-27 21:15:49 UTC
README
This is a aliyun expansion for the laravel
接口支持
- AliPay
环境需求
- PHP >= 7.0
Installation
composer require xutl/laravel-payment
for Laravel
This service provider must be registered.
// config/app.php 'providers' => [ '...', XuTL\Payment\PaymentServiceProvider::class, ];
Use
try { $wechat = Payment::get('wechat'); } catch (\Exception $e) { print_r($e->getMessage()); }