Download the PHP package godsdev/rate-limiter-interface without Composer
On this page you can find all versions of the php package godsdev/rate-limiter-interface. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download godsdev/rate-limiter-interface
More information about godsdev/rate-limiter-interface
Files in godsdev/rate-limiter-interface
Download godsdev/rate-limiter-interface
More information about godsdev/rate-limiter-interface
Files in godsdev/rate-limiter-interface
Vendor godsdev
Package rate-limiter-interface
Short Description limits number of its calls per time
License MIT
Package rate-limiter-interface
Short Description limits number of its calls per time
License MIT
Please rate this library. Is it a good library?
Informations about the package rate-limiter-interface
Request rate limiter interface
Limits the number of requests per time.
- There are two parameters:
period
andrate
. - A request is a call of the
inc()
method. Aninc()
method begins to return false if number of requests perperiod
is higher than arate
. Unit ofperiod
MAY be second or any other time unit.
Test notes
test.sh
runs the PHPUnit tests.
test-coverage.sh
generates the PHPUnit coverage analysis to the temp folder.
If the php -v
command does not show the with Xdebug
line, note that for coverage testing you might need to manually edit the php.ini used by your PHP CLI in order to enable the
All versions of rate-limiter-interface with dependencies
PHP Build Version
Package Version
No informations.
The package godsdev/rate-limiter-interface contains the following files
Loading the files please wait ....