https://github.com/liesauer/qlplugin-simplehttpclient
https://github.com/liesauer/qlplugin-simplehttpclient
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/liesauer/qlplugin-simplehttpclient
- Owner: liesauer
- Created: 2017-09-26T05:58:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-03T04:36:13.000Z (over 7 years ago)
- Last Synced: 2025-01-14T00:49:24.609Z (4 months ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QueryList V4 Plugin - SimpleHttpClient
SimpleHttpClient
# Installation
```
composer require liesauer/ql-plugin-simplehttpclient
```
# Bind
* array `quickGet` ($url, $header = null, $cookie = '', $data = '', $options = null)
* array `quickPost` ($url, $header = null, $cookie = '', $data = '', $options = null)
# Usage
```php
use liesauer\QLPlugin\SimpleHttpClient;
use QL\QueryList;require_once __DIR__ . '/vendor/autoload.php';
$ql = QueryList::getInstance();
$ql->use(SimpleHttpClient::class);$response = $ql->quickGet('http://www.domain.com/');
var_dump($response);
```