2017 © Pedro Peláez
 

library laravel-with-limits

Laravel with limits is a Laravel package that handles API rate limits, down to the method level. The package will read rate limit headers and keep track of requests to prevent exceeding rate limits. GuzzleHttp is used to send requests and receive responses.

image

jonathanstaniforth/laravel-with-limits

Laravel with limits is a Laravel package that handles API rate limits, down to the method level. The package will read rate limit headers and keep track of requests to prevent exceeding rate limits. GuzzleHttp is used to send requests and receive responses.

  • Monday, November 6, 2017
  • by jonathanstaniforth
  • Repository
  • 1 Watchers
  • 1 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Laravel with limits

Latest Version on Packagist ![Software License][ico-license] Total Downloads, (*1)

Laravel with limits is a Laravel package that handles API rate limits, down to the method level. The package will read rate limit headers and keep track of requests to prevent exceeding rate limits. GuzzleHttp is used to send requests and receive responses., (*2)

Install

Via Composer, (*3)

``` bash $ composer require jonathanstaniforth/laravel-with-limits, (*4)


## Usage ``` php $request = new LaravelWithLimits\Request(); $response = $request->method('GET') ->path('static-data/v3/champions') ->withParameters(['locale' => 'en_GB', 'tags' => 'all']) ->withLimit(function ($rate_limit) { $rate_limit->api('riot') ->endpoint('static-data/v3/champions') ->header('X-Method-Rate-Limit'); })->send();

Security

If you discover any security related issues, please email jonathanstaniforth@gmail.com instead of using the issue tracker., (*5)

Credits

License

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

The Versions

06/11 2017

dev-master

9999999-dev https://github.com/jonathanstaniforth/laravel-with-limits

Laravel with limits is a Laravel package that handles API rate limits, down to the method level. The package will read rate limit headers and keep track of requests to prevent exceeding rate limits. GuzzleHttp is used to send requests and receive responses.

  Sources   Download

MIT

The Requires

 

by Jonathan Staniforth

laravel http guzzlehttp rate limit

06/11 2017

v1.0.5

1.0.5.0 https://github.com/jonathanstaniforth/laravel-with-limits

Laravel with limits is a Laravel package that handles API rate limits, down to the method level. The package will read rate limit headers and keep track of requests to prevent exceeding rate limits. GuzzleHttp is used to send requests and receive responses.

  Sources   Download

MIT

The Requires

 

by Jonathan Staniforth

laravel http guzzlehttp rate limit

06/11 2017

dev-develop

dev-develop https://github.com/jonathanstaniforth/laravel-with-limits

Laravel with limits is a Laravel package that handles API rate limits, down to the method level. The package will read rate limit headers and keep track of requests to prevent exceeding rate limits. GuzzleHttp is used to send requests and receive responses.

  Sources   Download

MIT

The Requires

 

by Jonathan Staniforth

laravel http guzzlehttp rate limit

05/11 2017

v1.0.4

1.0.4.0 https://github.com/jonathanstaniforth/laravel-with-limits

Laravel with limits is a Laravel package that handles API rate limits, down to the method level. The package will read rate limit headers and keep track of requests to prevent exceeding rate limits. GuzzleHttp is used to send requests and receive responses.

  Sources   Download

MIT

The Requires

 

by Jonathan Staniforth

laravel http guzzlehttp rate limit

04/11 2017

v1.0.3

1.0.3.0 https://github.com/jonathanstaniforth/laravel-with-limits

Laravel with limits is a Laravel package that handles API rate limits, down to the method level. The package will read rate limit headers and keep track of requests to prevent exceeding rate limits. GuzzleHttp is used to send requests and receive responses.

  Sources   Download

MIT

The Requires

 

by Jonathan Staniforth

laravel http guzzlehttp rate limit

03/11 2017

v1.0.1

1.0.1.0 https://github.com/jonathanstaniforth/laravel-with-limits

A Laravel HTTP package, using GuzzleHttp, with rate limit tracking.

  Sources   Download

MIT

The Requires

 

by Jonathan Staniforth

laravel http guzzlehttp rate limit

03/11 2017

v1.0.2

1.0.2.0 https://github.com/jonathanstaniforth/laravel-with-limits

A Laravel HTTP package, using GuzzleHttp, with rate limit tracking.

  Sources   Download

MIT

The Requires

 

by Jonathan Staniforth

laravel http guzzlehttp rate limit

03/11 2017

v1.0.0

1.0.0.0 https://github.com/jonathanstaniforth/laravel-with-limits

A Laravel HTTP package, using GuzzleHttp, with rate limit tracking.

  Sources   Download

MIT

The Requires

 

by Jonathan Staniforth

laravel http guzzlehttp rate limit