Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.
/ ratelimit Public archive
generated from CubeQuence/template

Ratelimit logic for CubeQuence/framework

License

Notifications You must be signed in to change notification settings

CubeQuence/ratelimit

Repository files navigation

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.