├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .scrutinizer.yml ├── Attribute └── RateLimit.php ├── CHANGELOG.md ├── DependencyInjection ├── Configuration.php └── NoxlogicRateLimitExtension.php ├── EventListener ├── BaseListener.php ├── HeaderModificationListener.php ├── OauthKeyGenerateListener.php └── RateLimitAnnotationListener.php ├── Events ├── CheckedRateLimitEvent.php ├── GenerateKeyEvent.php └── RateLimitEvents.php ├── Exception └── RateLimitExceptionInterface.php ├── LICENSE ├── NoxlogicRateLimitBundle.php ├── README.md ├── Resources ├── config │ └── services.xml ├── doc │ └── index.rst ├── meta │ └── LICENSE ├── translations │ └── messages.fr.xlf └── views │ └── Default │ └── index.html.twig ├── Service ├── RateLimitInfo.php ├── RateLimitService.php └── Storage │ ├── DoctrineCache.php │ ├── Memcache.php │ ├── PhpRedis.php │ ├── PhpRedisCluster.php │ ├── PsrCache.php │ ├── Redis.php │ ├── SimpleCache.php │ └── StorageInterface.php ├── Tests ├── Attribute │ └── RateLimitTest.php ├── DependencyInjection │ ├── ConfigurationTest.php │ └── NoxlogicRateLimitExtensionTest.php ├── EventListener │ ├── BaseListenerTest.php │ ├── HeaderModificationListenerTest.php │ ├── MockController.php │ ├── MockControllerWithAttributes.php │ ├── MockListener.php │ ├── MockStorage.php │ ├── OauthKeyGenerateListenerTest.php │ └── RateLimitAnnotationListenerTest.php ├── Events │ ├── CheckedRateLimitEventsTest.php │ ├── GenerateKeyEventsTest.php │ └── RateLimitEventsTest.php ├── Exception │ └── TestException.php ├── NoxlogicRateLimitBundleTest.php ├── Service │ ├── RateLimitInfoTest.php │ ├── RateLimitServiceTest.php │ └── Storage │ │ ├── DoctrineCacheTest.php │ │ ├── MemcacheTest.php │ │ ├── PhpRedisClusterTest.php │ │ ├── PhpRedisTest.php │ │ ├── PsrCacheTest.php │ │ ├── RedisTest.php │ │ └── SimpleCacheTest.php ├── TestCase.php ├── Util │ └── PathLimitProcessorTest.php ├── WebTestCase.php └── bootstrap.php ├── UPGRADE-2.0.md ├── Util └── PathLimitProcessor.php ├── composer.json ├── phpstan-baseline.neon ├── phpstan.dist.neon └── phpunit.xml.dist /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/.gitignore -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/.scrutinizer.yml -------------------------------------------------------------------------------- /Attribute/RateLimit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Attribute/RateLimit.php -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /DependencyInjection/Configuration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/DependencyInjection/Configuration.php -------------------------------------------------------------------------------- /DependencyInjection/NoxlogicRateLimitExtension.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/DependencyInjection/NoxlogicRateLimitExtension.php -------------------------------------------------------------------------------- /EventListener/BaseListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/EventListener/BaseListener.php -------------------------------------------------------------------------------- /EventListener/HeaderModificationListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/EventListener/HeaderModificationListener.php -------------------------------------------------------------------------------- /EventListener/OauthKeyGenerateListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/EventListener/OauthKeyGenerateListener.php -------------------------------------------------------------------------------- /EventListener/RateLimitAnnotationListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/EventListener/RateLimitAnnotationListener.php -------------------------------------------------------------------------------- /Events/CheckedRateLimitEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Events/CheckedRateLimitEvent.php -------------------------------------------------------------------------------- /Events/GenerateKeyEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Events/GenerateKeyEvent.php -------------------------------------------------------------------------------- /Events/RateLimitEvents.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Events/RateLimitEvents.php -------------------------------------------------------------------------------- /Exception/RateLimitExceptionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Exception/RateLimitExceptionInterface.php -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/LICENSE -------------------------------------------------------------------------------- /NoxlogicRateLimitBundle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/NoxlogicRateLimitBundle.php -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/README.md -------------------------------------------------------------------------------- /Resources/config/services.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Resources/config/services.xml -------------------------------------------------------------------------------- /Resources/doc/index.rst: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Resources/meta/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Resources/meta/LICENSE -------------------------------------------------------------------------------- /Resources/translations/messages.fr.xlf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Resources/translations/messages.fr.xlf -------------------------------------------------------------------------------- /Resources/views/Default/index.html.twig: -------------------------------------------------------------------------------- 1 | Hello {{ name }}! 2 | -------------------------------------------------------------------------------- /Service/RateLimitInfo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Service/RateLimitInfo.php -------------------------------------------------------------------------------- /Service/RateLimitService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Service/RateLimitService.php -------------------------------------------------------------------------------- /Service/Storage/DoctrineCache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Service/Storage/DoctrineCache.php -------------------------------------------------------------------------------- /Service/Storage/Memcache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Service/Storage/Memcache.php -------------------------------------------------------------------------------- /Service/Storage/PhpRedis.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Service/Storage/PhpRedis.php -------------------------------------------------------------------------------- /Service/Storage/PhpRedisCluster.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Service/Storage/PhpRedisCluster.php -------------------------------------------------------------------------------- /Service/Storage/PsrCache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Service/Storage/PsrCache.php -------------------------------------------------------------------------------- /Service/Storage/Redis.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Service/Storage/Redis.php -------------------------------------------------------------------------------- /Service/Storage/SimpleCache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Service/Storage/SimpleCache.php -------------------------------------------------------------------------------- /Service/Storage/StorageInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Service/Storage/StorageInterface.php -------------------------------------------------------------------------------- /Tests/Attribute/RateLimitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Attribute/RateLimitTest.php -------------------------------------------------------------------------------- /Tests/DependencyInjection/ConfigurationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/DependencyInjection/ConfigurationTest.php -------------------------------------------------------------------------------- /Tests/DependencyInjection/NoxlogicRateLimitExtensionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/DependencyInjection/NoxlogicRateLimitExtensionTest.php -------------------------------------------------------------------------------- /Tests/EventListener/BaseListenerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/EventListener/BaseListenerTest.php -------------------------------------------------------------------------------- /Tests/EventListener/HeaderModificationListenerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/EventListener/HeaderModificationListenerTest.php -------------------------------------------------------------------------------- /Tests/EventListener/MockController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/EventListener/MockController.php -------------------------------------------------------------------------------- /Tests/EventListener/MockControllerWithAttributes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/EventListener/MockControllerWithAttributes.php -------------------------------------------------------------------------------- /Tests/EventListener/MockListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/EventListener/MockListener.php -------------------------------------------------------------------------------- /Tests/EventListener/MockStorage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/EventListener/MockStorage.php -------------------------------------------------------------------------------- /Tests/EventListener/OauthKeyGenerateListenerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/EventListener/OauthKeyGenerateListenerTest.php -------------------------------------------------------------------------------- /Tests/EventListener/RateLimitAnnotationListenerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/EventListener/RateLimitAnnotationListenerTest.php -------------------------------------------------------------------------------- /Tests/Events/CheckedRateLimitEventsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Events/CheckedRateLimitEventsTest.php -------------------------------------------------------------------------------- /Tests/Events/GenerateKeyEventsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Events/GenerateKeyEventsTest.php -------------------------------------------------------------------------------- /Tests/Events/RateLimitEventsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Events/RateLimitEventsTest.php -------------------------------------------------------------------------------- /Tests/Exception/TestException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Exception/TestException.php -------------------------------------------------------------------------------- /Tests/NoxlogicRateLimitBundleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/NoxlogicRateLimitBundleTest.php -------------------------------------------------------------------------------- /Tests/Service/RateLimitInfoTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Service/RateLimitInfoTest.php -------------------------------------------------------------------------------- /Tests/Service/RateLimitServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Service/RateLimitServiceTest.php -------------------------------------------------------------------------------- /Tests/Service/Storage/DoctrineCacheTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Service/Storage/DoctrineCacheTest.php -------------------------------------------------------------------------------- /Tests/Service/Storage/MemcacheTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Service/Storage/MemcacheTest.php -------------------------------------------------------------------------------- /Tests/Service/Storage/PhpRedisClusterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Service/Storage/PhpRedisClusterTest.php -------------------------------------------------------------------------------- /Tests/Service/Storage/PhpRedisTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Service/Storage/PhpRedisTest.php -------------------------------------------------------------------------------- /Tests/Service/Storage/PsrCacheTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Service/Storage/PsrCacheTest.php -------------------------------------------------------------------------------- /Tests/Service/Storage/RedisTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Service/Storage/RedisTest.php -------------------------------------------------------------------------------- /Tests/Service/Storage/SimpleCacheTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Service/Storage/SimpleCacheTest.php -------------------------------------------------------------------------------- /Tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/TestCase.php -------------------------------------------------------------------------------- /Tests/Util/PathLimitProcessorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/Util/PathLimitProcessorTest.php -------------------------------------------------------------------------------- /Tests/WebTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/WebTestCase.php -------------------------------------------------------------------------------- /Tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Tests/bootstrap.php -------------------------------------------------------------------------------- /UPGRADE-2.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/UPGRADE-2.0.md -------------------------------------------------------------------------------- /Util/PathLimitProcessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/Util/PathLimitProcessor.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/composer.json -------------------------------------------------------------------------------- /phpstan-baseline.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/phpstan-baseline.neon -------------------------------------------------------------------------------- /phpstan.dist.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/phpstan.dist.neon -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaytaph/RateLimitBundle/HEAD/phpunit.xml.dist --------------------------------------------------------------------------------