laxcorp/ billing-partner-bundle
账单助手
v7.0.3
2021-06-10 05:49 UTC
Requires
- php: ^7.2
This package is not auto-updated.
Last update: 2024-09-26 20:55:26 UTC
README
安装
composer require laxcorp/billing-partner-bundle
在app/AppKernel.php中添加
$bundles = [ new LaxCorp\BillingPartnerBundle\BillingPartnerBundle(), new Circle\RestClientBundle\CircleRestClientBundle(), new Symfony\Bundle\MonologBundle\MonologBundle(), ];
并在config.yaml中添加
billing_partner: url: 'https://billing.site:port' login: 'billing_api_user' password: 'billing_api_password'
circle_rest_client: curl: defaults: CURLOPT_HTTPHEADER: [ "Content-Type: application/json" ] CURLOPT_FOLLOWLOCATION: true CURLOPT_SSL_VERIFYPEER: false CURLOPT_SSL_VERIFYHOST: 0 CURLOPT_SSLVERSION: false CURLOPT_CONNECTTIMEOUT: 3600