PHPackages                             ghua/zim32-request-limit-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. ghua/zim32-request-limit-bundle

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

ghua/zim32-request-limit-bundle
===============================

With this bundle you can easy limit requests to your application

01411PHP

Since Nov 19Pushed 13y ago1 watchersCompare

[ Source](https://github.com/ghua/Symfony2-RequestLimitBundle)[ Packagist](https://packagist.org/packages/ghua/zim32-request-limit-bundle)[ RSS](/packages/ghua-zim32-request-limit-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

README
======

[](#readme)

Overview
--------

[](#overview)

With this bundle you can easy limit requests to your application

Installation
------------

[](#installation)

1. Add Zim32RequestLimitBundle to your deps file

    \[Zim32RequestLimitBundle\] git=git://github.com/zim32/Symfony2-RequestLimitBundle.git target=/bundles/Zim32/RequestLimitBundle Make /bin/vendors install
2. Add Zim32RequestLimitBundle to your AppKernel

    $bundles = array( ................. new Zim32\\RequestLimitBundle\\Zim32RequestLimitBundle(), );
3. Add Zim32 namespace into your /app/autoload.php

    $loader-&gt;registerNamespaces(array( ................ 'Zim32' =&gt; **DIR**.'/../vendor/bundles', ));
4. Configure your application. For example

    zim32\_request\_limit: rules: rule: path: /profile/ limit: 1 per: 60 ip: 192.168.1.2 some\_foo\_name: path: / limit: 10 per: 1

First rule will limit requests for 1 request per 60 seconds from ip 192.168.1.2 for URL starting with /profile/

Reference
---------

[](#reference)

1. path (required) - path to apply rule
2. limit (required) - number of requests. For immediate deny use '0' for limit
3. per (required) - seconds
4. ip (optional) - limit by remote ip

You can use several rules at the same time

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ece9dd51a29619696bc30260b50e50f91ba9cc6abc62ccd5f8059807e241959c?d=identicon)[ghua](/maintainers/ghua)

---

Top Contributors

[![ghua](https://avatars.githubusercontent.com/u/1211028?v=4)](https://github.com/ghua "ghua (2 commits)")[![zim32](https://avatars.githubusercontent.com/u/538976?v=4)](https://github.com/zim32 "zim32 (1 commits)")

### Embed Badge

![Health badge](/badges/ghua-zim32-request-limit-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ghua-zim32-request-limit-bundle/health.svg)](https://phpackages.com/packages/ghua-zim32-request-limit-bundle)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M318](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M292](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
