2017 © Pedro Peláez
 

library http

A lightweight HTTP client with PHP7.

image

fenzland/http

A lightweight HTTP client with PHP7.

  • Thursday, December 21, 2017
  • by Fenzland
  • Repository
  • 1 Watchers
  • 3 Stars
  • 121 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 11 Versions
  • 8 % Grown

The README.md

Fenzland HTTP

A lightweight HTTP client with PHP7., (*1)

Install

composer require fenzland/http

Usage


HTTP::scheme('http')->host('example.org')->port(80)->query('/example/')->headers([ 'key'=>'value', ])->method('GET')->version('1.1')->send(); HTTP::withScheme('http')->withHost('example.org')->withPort(80)->withQuery('/example/')->withHeaders([ 'key'=>'value', ])->withMethod('GET')->withVersion('1.1')->send(); HTTP::url('http://example.org/example/?key=value')->get(); HTTP::url('http://example.org/example/?key=value')->head(); HTTP::url('http://example.org/example/?key=value')->options(); HTTP::url('http://example.org/example/?key=value')->delete(); HTTP::url('http://example.org/example/?key=value')->post( 'id=1&name=Fenz' ); HTTP::url('http://example.org/example/?key=value')->put( 'id=1&name=Fenz' ); HTTP::url('http://example.org/example/?key=value')->patch( 'id=1&name=Fenz' );

The Versions

21/12 2017

dev-master

9999999-dev

A lightweight HTTP client with PHP7.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fenz

21/12 2017

0.1.13

0.1.13.0

A lightweight HTTP client with PHP7.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fenz

28/09 2017

0.1.12

0.1.12.0

A lightweight HTTP client with PHP7.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fenz

14/07 2017

0.1.11

0.1.11.0

A lightweight HTTP client with PHP7.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fenz

19/05 2017

0.1.10

0.1.10.0

A lightweight HTTP client with PHP7.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fenz

01/03 2017

0.1.7

0.1.7.0

A lightweight HTTP client with PHP7.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fenz

01/03 2017

0.1.6

0.1.6.0

A lightweight HTTP client with PHP7.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fenz

28/02 2017

0.1.5

0.1.5.0

A lightweight HTTP client with PHP7.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fenz

28/02 2017

0.1.4

0.1.4.0

A lightweight HTTP client with PHP7.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fenz

14/12 2016

0.1.3

0.1.3.0

A lightweight HTTP client with PHP7.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fenz

12/12 2016

0.1.0

0.1.0.0

A lightweight HTTP client with PHP7.

  Sources   Download

MIT

The Development Requires

by Fenz