xxutianyi / php-simple-request
Simple Request Library
v1.0.0
2023-12-22 11:56 UTC
Requires
- php: >=8.0
- ext-curl: *
- ext-json: *
README
Packaged Http Json Request Library use Guzzlehttp
Install
composer require xxutianyi/simple-request
Use
use SimpleRequest\Request $content = Request::get('url','query','headers'); $content = Request::post('url','query','json','headers'); $content = Request::put('url','query','json','headers'); $content = Request::delete('url','query','headers');