opensourcediva/zzcurl
Composer 安装命令:
composer require opensourcediva/zzcurl
包简介
Allows you to easily send post data.
README 文档
README
Allows you to easily send post data.
Example
<?php require 'vendor/autoload.php'; use Utility\Data; use Utility\Post; try { $data = new Data([ 'test_field' => 'test data', 'test_field_2' => 'test data 2' ]); $post = new Post('http://www.webomg.com'); $post->setData($data); $response = $post->send(); // Returns true if successful } catch(Exception $exception) { echo $exception->getMessage(); }
统计信息
- 总下载量: 49
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2014-09-22