2017 © Pedro Peláez
 

library curl

A better way to cURL

image

lyoshenka/curl

A better way to cURL

  • Thursday, April 27, 2017
  • by lyoshenka
  • Repository
  • 1 Watchers
  • 1 Stars
  • 36 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

lyoshenka/curl

A simple wrapper around Curl to make it easy to use., (*1)

No more curl_init(), no more struggling to get response headers, etc., (*2)

Two ways to use it

The functional way

echo \lyoshenka\curl::get('http://httpbin.org/user-agent', [], ['headers' => ['User-Agent' => 'nice!']]);

The fluent OO way

echo \lyoshenka\curl::init()
  ->setMethod('GET')
  ->setUrl('http://httpbin.org/user-agent')
  ->setHeader('User-Agent', 'also nice!')
  ->send()
  ->getBody();

The Versions

27/04 2017

dev-master

9999999-dev

A better way to cURL

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-curl *

 

by Alex Grintsvayg

05/03 2017

v1.0.6

1.0.6.0

A better way to cURL

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-curl *

 

by Alex Grintsvayg

03/02 2017

v1.0.5

1.0.5.0

A better way to cURL

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-curl *

 

by Alex Grintsvayg

28/01 2017

v1.0.4

1.0.4.0

A better way to cURL

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-curl *

 

by Alex Grintsvayg

24/01 2017

v1.0.3

1.0.3.0

A better way to cURL

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-curl *

 

by Alex Grintsvayg

24/01 2017

v1.0.2

1.0.2.0

A better way to cURL

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-curl *

 

by Alex Grintsvayg

24/01 2017

v1.0.1

1.0.1.0

A better way to cURL

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-curl *

 

by Alex Grintsvayg

10/11 2016

v1.0

1.0.0.0

A better way to cURL

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-curl *

 

by Alex Grintsvayg