zguillez / z-http
PHP module for http request
v1.0.0
2020-03-10 00:33 UTC
This package is auto-updated.
Last update: 2025-01-10 11:20:48 UTC
README
PHP module for MySql https
Getting Started
Add package to composer.json
composer require zguillez/z-http
//packaje.json
{
"require": {
"zguillez/z-http": "^1.0.0"
}
}
Usage:
require 'vendor/autoload.php';
$http = new Z\Http();
$data = ['a' => '1', 'b' => '2', 'c' => '3'];
$result = $http->get('http://tracker.masterd.es/json', $data, true);
//$result = $tools->post('http://tracker.masterd.es/json', $data, true);
var_dump($result);
Contributing and issues
Contributors are welcome, please fork and send pull requests! If you have any ideas on how to make this project better then please submit an issue or send me an email.
License
©2020 Zguillez.io
Original code licensed under MIT Open Source projects used within this project retain their original licenses.
Changelog
v1.0.0 (Mar 10, 2020)
- Initial implementation