cubequence/ratelimit

This package is abandoned and no longer maintained. No replacement package was suggested.

Ratelimit logic


README

68747470733a2f2f72617763646e2e6769746861636b2e636f6d2f437562655175656e63652f437562655175656e63652f383535613866653833363938396361343063346535306138383933363239373565616239616334332f7075626c69632f6173736574732f696d616765732f62616e6e65722e706e67

Total Downloads Latest Stable Version License

Ratelimit

Ratelimit logic for CubeQuence/framework

Installation

  1. composer require cubequence/ratelimit
  2. Copy config from https://github.com/CubeQuence/CubeQuence/blob/master/config/ratelimit.php to config/
  3. Copy migration from https://github.com/CubeQuence/CubeQuence/blob/master/database/migrations/20200517193839_create_rate_limit_table.php to database/migrations/
  4. Run migrations php cubequence db:migrate

Example

Look at https://github.com/CubeQuence/framework/blob/master/src/CubeQuence/Middleware/RatelimitMiddleware.php

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

Heavily inspired by:

The CubeQuence software is open-sourced software licensed under the MIT license.