Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chadicus/psr-middleware-ratelimit

PSR Middleware for limiting api client requests
https://github.com/chadicus/psr-middleware-ratelimit

Last synced: 4 days ago
JSON representation

PSR Middleware for limiting api client requests

Awesome Lists containing this project

README

        

# RateLimit Middleware

[![Build Status](https://travis-ci.org/chadicus/psr-middleware-ratelimit.svg?branch=master)](https://travis-ci.org/chadicus/psr-middleware-ratelimit)
[![Code Quality](https://scrutinizer-ci.com/g/chadicus/psr-middleware-ratelimit/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/chadicus/psr-middleware-ratelimit/?branch=master)
[![Code Coverage](https://coveralls.io/repos/github/chadicus/psr-middleware-ratelimit/badge.svg?branch=master)](https://coveralls.io/github/chadicus/psr-middleware-ratelimit?branch=master)

[![Latest Stable Version](https://poser.pugx.org/chadicus/psr-middleware-ratelimit/v/stable)](https://packagist.org/packages/chadicus/psr-middleware-ratelimit)
[![Latest Unstable Version](https://poser.pugx.org/chadicus/psr-middleware-ratelimit/v/unstable)](https://packagist.org/packages/chadicus/psr-middleware-ratelimit)
[![License](https://poser.pugx.org/chadicus/psr-middleware-ratelimit/license)](https://packagist.org/packages/chadicus/psr-middleware-ratelimit)

[![Total Downloads](https://poser.pugx.org/chadicus/psr-middleware-ratelimit/downloads)](https://packagist.org/packages/chadicus/psr-middleware-ratelimit)
[![Daily Downloads](https://poser.pugx.org/chadicus/psr-middleware-ratelimit/d/daily)](https://packagist.org/packages/chadicus/psr-middleware-ratelimit)
[![Monthly Downloads](https://poser.pugx.org/chadicus/psr-middleware-ratelimit/d/monthly)](https://packagist.org/packages/chadicus/psr-middleware-ratelimit)

[![Documentation](https://img.shields.io/badge/reference-phpdoc-blue.svg?style=flat)](http://pholiophp.org/chadicus/psr-middleware-ratelimit)

Middleware for limiting client requests.

## Requirements

RateLimit Middleware requires PHP 7.0 (or later).

## Composer
To add the library as a local, per-project dependency use [Composer](http://getcomposer.org)! Simply add a dependency on
`chadicus/psr-middleware-ratelimit` to your project's `composer.json` file such as:

```sh
composer require chadicus/psr-middleware-ratelimit
```

## Contact
Developers may be contacted at:

* [Pull Requests](https://github.com/chadicus/psr-middleware-ratelimit/pulls)
* [Issues](https://github.com/chadicus/psr-middleware-ratelimit/issues)

## Project Build
With a checkout of the code get [Composer](http://getcomposer.org) in your PATH and run:

```sh
./composer install
./vendor/bin/phpunit
```
## Example Usage

Examples coming soon