PHPackages                             mabe/ratelimit-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. mabe/ratelimit-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

mabe/ratelimit-bundle
=====================

This symfony bundle provides functionality to limit requests based on rate limits using Redis.

v0.1.1(7y ago)433MITPHPPHP ^7.1

Since Oct 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/mbeineris/RateLimitBundle)[ Packagist](https://packagist.org/packages/mabe/ratelimit-bundle)[ RSS](/packages/mabe-ratelimit-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (6)Versions (4)Used By (0)

[![Build Status](https://camo.githubusercontent.com/a92e507f411e223f328c75a8389f9474f00b86d652dde66789670407646573ee/68747470733a2f2f7472617669732d63692e6f72672f6d6265696e657269732f526174654c696d697442756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mbeineris/RateLimitBundle) [![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

RateLimitBundle
===============

[](#ratelimitbundle)

A light-weight symfony bundle that limits request rate for given path.

Requirements
============

[](#requirements)

Redis server

Installation
============

[](#installation)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require mabe/ratelimit-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
