2017 © Pedro Peláez
 

library curl

laravel模拟curl请求支持https

image

cxycdz/curl

laravel模拟curl请求支持https

  • Sunday, September 25, 2016
  • by daimingkang
  • Repository
  • 1 Watchers
  • 0 Stars
  • 31 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

安装

 php composer require cxycdz/curl

或者在你的composer.json中的requeire中加入, (*1)

"cxycdz/curl":"~1.0"

执行更新命令, (*2)

php composer update

配置

在config/app.php的providers中配置, (*3)

'providers' => [

     ...
        Cxycdz\Curl\CurlProvider::class,

使用

在控制器中直接 $curl=app('curl'); $data=$curl->curl_http_get('http://www.cxycdz.cn'); .....
更多文档进入www.cxycdz.cn, (*4)

The Versions

25/09 2016

dev-master

9999999-dev

laravel模拟curl请求支持https

  Sources   Download

MIT

by dmk

23/09 2016

1.0

1.0.0.0

curl get and post http and https

  Sources   Download

MIT

by dmk