2017 © Pedro Peláez
 

library lush-http

Smart Http Client for PHP.

image

appstract/lush-http

Smart Http Client for PHP.

  • Monday, May 28, 2018
  • by gizburdt
  • Repository
  • 2 Watchers
  • 22 Stars
  • 151,165 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 37 Versions
  • 20 % Grown

The README.md

Lush Http

Latest Version on Packagist Software License Build Status Total Downloads, (*1)

Smart Http Client for PHP.

Lush is a small Http client that focuses on the most basic use cases. It also tries to format the responses to objects, so you don't have to. This makes Lush great for API requests., (*2)

Lush can be installed in any PHP application through composer, but has some extras when used in combination with Laravel., (*3)

Wip

This package is still in development, you are free to try it, without any warranty., (*4)

Todo - Support cookies - Docs, (*5)

Requirements

  • PHP 5.6+
  • php_curl

Installation

You can install the package via composer:, (*6)

``` bash composer require appstract/lush-http, (*7)


## Usage The most basic usage: ``` php // Create a new instance $lush = new Lush(); // Make a requests $response = $lush->url('http://example.com', ['id' => 3]) ->headers(['X-some-header' => 'some-value']) ->get(); // Method (get, post, put, etc.) // Response returns JSON or XML? // then you can directly access it's properties echo $response->name;

Link to the docs will be added soon!, (*8)

Contributing

Contributions are welcome, thanks to y'all :), (*9)

About Appstract

Appstract is a small team from The Netherlands. We create (open source) tools for webdevelopment and write about related subjects on Medium. You can follow us on Twitter, buy us a beer or support us on Patreon., (*10)

License

The MIT License (MIT). Please see License File for more information., (*11)

The Versions

28/05 2018

dev-master

9999999-dev https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl php http client appstract lush-http lush

28/05 2018

0.5.4

0.5.4.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl php http client appstract lush-http lush

09/03 2018

0.5.3

0.5.3.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl php http client appstract lush-http lush

02/01 2018

dev-dev

dev-dev https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl php http client appstract lush-http lush

19/12 2017

0.5.2

0.5.2.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl php http client appstract lush-http lush

29/11 2017

0.5.1

0.5.1.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl php http client appstract lush-http lush

28/10 2017

dev-analysis-XVgK5Z

dev-analysis-XVgK5Z https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl php http client appstract lush-http lush

28/10 2017

0.5.0

0.5.0.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl php http client appstract lush-http lush

04/09 2017

0.4.1

0.4.1.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl php http client appstract lush-http lush

04/09 2017

0.4.0

0.4.0.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl php http client appstract lush-http lush

31/08 2017

0.3.0

0.3.0.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl php http client appstract lush-http lush

24/08 2017

dev-analysis-8wwLpW

dev-analysis-8wwLpW https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

curl php http client appstract lush-http lush

17/08 2017

0.2.6

0.2.6.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

21/06 2017

0.2.5

0.2.5.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

21/06 2017

0.2.4

0.2.4.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

14/06 2017

0.2.3

0.2.3.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

14/06 2017

0.2.2

0.2.2.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

29/05 2017

0.2.1

0.2.1.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

26/05 2017

dev-syntax

dev-syntax https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

15/05 2017

0.2.0

0.2.0.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

12/05 2017

0.1.6

0.1.6.0 https://github.com/appstract/lush-http

Smart Http Client for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

06/04 2017

0.1.5

0.1.5.0 https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

15/03 2017

dev-analysis-XaL6Nk

dev-analysis-XaL6Nk https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

08/03 2017

0.1.4

0.1.4.0 https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

08/03 2017

dev-analysis-8QDAjp

dev-analysis-8QDAjp https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

28/02 2017

dev-analysis-q1ZJOL

dev-analysis-q1ZJOL https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

28/02 2017

0.1.3

0.1.3.0 https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

28/02 2017

0.1.2

0.1.2.0 https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

28/02 2017

0.1.1

0.1.1.0 https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

27/02 2017

0.0.7

0.0.7.0 https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

27/02 2017

0.1.0

0.1.0.0 https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

21/02 2017

0.0.6

0.0.6.0 https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

20/02 2017

0.0.5

0.0.5.0 https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

17/02 2017

0.0.4

0.0.4.0 https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

14/02 2017

0.0.3

0.0.3.0 https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

14/02 2017

0.0.2

0.0.2.0 https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

curl php http client appstract lush-http lush

13/02 2017

0.0.1

0.0.1.0 https://github.com/appstract/lush-http

Lush, a lightweight Http Client.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

curl php http client appstract lush-http lush