Yii Framework 34k+
  • News
  • Guide
  • API
  • Wiki
  • Forum
  • Community
    • Places
    • Members
    • Hall of Fame
    • Badges
  • More
    • Learn
    • Books
    • Resources
    • Develop
    • Download Yii
    • Extensions
    • Report an Issue
    • Report a Security Issue
    • Contribute to Yii
    • Donate
    • About
    • Release Cycle
    • License
    • Team
    • Official Logos and Design
Login

Rate limiter 3.0.0

Jul 26, 2023

Major version of yiisoft/rate-limiter package was released.

In this release:

  • Revised architecture allowing concurrency-safe counter storages.
  • Added APCu counters storage that is suitable for high concurrency environments that might cause dirty reads.
  • Dependency upgrades.
  • Mininum PHP version was raised to 8.0.

Thanks to Pan Jiawei for handing this complicated work.

RateLimiter 2.0.0

Aug 15, 2021

Major version of yiisoft/rate-limiter package was released.

It introduces new package design proposed by kafkiansky:

  • LimitPolicyInterface is there to easily change the policy of rate limiting i.e. while requests apply limiting to.
  • StorageInterface is there to use custom storage for request counters.
  • TimerInterface allowed us to rewrite tests not to use usleep() making them stable.

See UPGRADE for instructions on how to adjust your code if you are using first version of the package.

RateLimiter 1.0.0

Jun 7, 2021

First version of yiisoft/rate-limiter package was released.

RateLimiter helps to prevent abuse by limiting the number of requests that could be me made consequentially.

For example, you may want to limit the API usage of each user to be at most 100 API calls within a period of 10 minutes. If too many requests are received from a user within the stated period of the time, a response with status code 429 (meaning "Too Many Requests") should be returned.

Read more

Get notified of news as soon as they are available using our RSS Feed.

Years

  • 2026 (48)
  • 2025 (92)
  • 2024 (80)
  • 2023 (90)
  • 2022 (82)
  • 2021 (101)
  • 2020 (64)
  • 2019 (75)
  • 2018 (32)
  • 2017 (35)
  • 2016 (30)
  • 2015 (9)
  • 2014 (6)
  • 2013 (11)
  • 2012 (14)
  • 2011 (10)
  • 2010 (10)
  • 2009 (23)
  • 2008 (5)

Popular Tags

  • yii3 387
  • extensions 233
  • release 109
  • yii2 74
  • debug 30
  • view 28
  • html 25
  • auth client 23
  • bootstrap 21
  • redis 20
  • Yii 1.1
  • Guide
  • API
  • Wiki
  • Yii 2
  • Guide
  • API
  • Wiki
  • Yii3
  • Guide
  • API
  • Cookbook
  • Terms of service
  • License
  • Contact Us
  • Supported by
  • Your donations
  • JetBrains logo
  • © 2008 - 2026 Yii (Website Source Code)