PHPackages                             nowo-tech/login-throttle-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. [Security](/categories/security)
4. /
5. nowo-tech/login-throttle-bundle

ActiveSymfony-bundle[Security](/categories/security)

nowo-tech/login-throttle-bundle
===============================

Symfony bundle for login throttling using native Symfony login\_throttling feature with pre-configured settings

v0.0.14(4mo ago)09[2 PRs](https://github.com/nowo-tech/LoginThrottleBundle/pulls)MITPHPPHP &gt;=8.1 &lt;8.6CI passing

Since Dec 30Pushed 1mo agoCompare

[ Source](https://github.com/nowo-tech/LoginThrottleBundle)[ Packagist](https://packagist.org/packages/nowo-tech/login-throttle-bundle)[ Docs](https://github.com/nowo-tech/login-throttle-bundle)[ RSS](/packages/nowo-tech-login-throttle-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (16)Used By (0)

Login Throttle Bundle
=====================

[](#login-throttle-bundle)

[![CI](https://github.com/nowo-tech/LoginThrottleBundle/actions/workflows/ci.yml/badge.svg)](https://github.com/nowo-tech/LoginThrottleBundle/actions/workflows/ci.yml) [![Packagist Version](https://camo.githubusercontent.com/ae7a68f847dc8c9570c1a2c4b6ac3d799f2a9da48245ea650bf83880a0aa9189/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f776f2d746563682f6c6f67696e2d7468726f74746c652d62756e646c652e7376673f7374796c653d666c6174)](https://packagist.org/packages/nowo-tech/login-throttle-bundle) [![Packagist Downloads](https://camo.githubusercontent.com/926f783783b05a06c7cf4cd9792402a64cba3642d9477ed270e3f4f39c18375f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f776f2d746563682f6c6f67696e2d7468726f74746c652d62756e646c652e737667)](https://packagist.org/packages/nowo-tech/login-throttle-bundle) [![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE) [![PHP](https://camo.githubusercontent.com/8e58b490725ac49cc8e463c473173681b324c9d92d7854275a785db013ca3de7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d3737374242343f6c6f676f3d706870)](https://php.net) [![Symfony](https://camo.githubusercontent.com/8fe7de83f11ab7ca74742794be56f9291632c8351a9ae5baea0bc1e9c4eb5a35/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d3625323025374325323037253230253743253230382d3030303030303f6c6f676f3d73796d666f6e79)](https://symfony.com) [![GitHub stars](https://camo.githubusercontent.com/a558056738fc585c3838c5226d2adfb566e7e6bb3c6178de4923d6a14a8fb273/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6e6f776f2d746563682f6c6f67696e2d7468726f74746c652d62756e646c652e7376673f7374796c653d736f6369616c266c6162656c3d53746172)](https://github.com/nowo-tech/LoginThrottleBundle) [![Coverage](https://camo.githubusercontent.com/cd0704b56f1d56def350b6d0164316307bb2f47834225fd85443b6fb0059bc73/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f7665726167652d3130302532352d627269676874677265656e)](#tests-and-coverage)

> ⭐ **Found this useful?** Give it a star on GitHub! It helps us maintain and improve the project.

Symfony bundle for login throttling using native Symfony `login_throttling` feature with pre-configured settings.

This bundle replaces deprecated bundles like `anyx/login-gate-bundle` by using Symfony's native login throttling feature introduced in Symfony 5.2.

Features
--------

[](#features)

- ✅ Native Symfony `login_throttling` integration
- ✅ Pre-configured settings with sensible defaults
- ✅ Automatic configuration file generation
- ✅ Command to automatically configure `security.yaml`
- ✅ **Multiple firewalls support** - Configure independent throttling for each firewall
- ✅ **Database storage support** - Store login attempts in database for auditing
- ✅ Custom rate limiter support
- ✅ Compatible with Symfony 6.0, 7.0, and 8.0
- ✅ Easy migration from `anyx/login-gate-bundle`
- ✅ Same configuration options as the deprecated bundle
- ✅ Complete test suite with 100% coverage requirement
- ✅ Comprehensive documentation
- ✅ Demo project included
- ✅ GitHub Actions CI/CD

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

[](#installation)

```
composer require nowo-tech/login-throttle-bundle
```

Then, register the bundle in your `config/bundles.php`:

```
