f-oris / easy-sdk-httpclient
Easy sdk http-client component.
2.0.0
2021-04-24 13:40 UTC
Requires
- php: >=5.5
- f-oris/easy-httpclient: ^2.0
- psr/log: ^1.0
Requires (Dev)
- f-oris/easy-sdk-develop: ^2.0
This package is auto-updated.
Last update: 2024-10-24 21:35:30 UTC
README
Easy sdk HttpClient扩展组件包
安装
通过composer引入扩展包
composer require f-oris/easy-sdk-httpclient:^2.0
Publish配置信息
php artisan vendor:publish --provider="Foris\Easy\Sdk\HttpClient\ServiceProvider"
使用
通过服务容器,获取HttpClient实例,按照easy-httpclient使用说明进行调用即可
<?php $app = new \Foris\Easy\Sdk\Application(); $app->get('http_client')->request('http://url');
License
MIT License
Copyright (c) 2019-present F.oris us@f-oris.me