cxycdz / curl
laravel模拟curl请求支持https
Installs: 50
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/cxycdz/curl
This package is not auto-updated.
Last update: 2025-09-28 02:05:12 UTC
README
#安装
php composer require cxycdz/curl
或者在你的composer.json中的requeire中加入
"cxycdz/curl":"~1.0"
执行更新命令
php composer update
#配置 在config/app.php的providers中配置
'providers' => [
...
Cxycdz\Curl\CurlProvider::class,
#使用 在控制器中直接
$curl=app('curl');
$data=$curl->curl_http_get('http://www.cxycdz.cn');
.....
更多文档进入www.cxycdz.cn