viliy/throttle

There is no license information available for the latest version (v0.1.2) of this package.

Maintainers

Package info

github.com/viliy/throttle

pkg:composer/viliy/throttle

Statistics

Installs: 82

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.2 2019-01-07 02:24 UTC

This package is auto-updated.

Last update: 2026-03-07 19:03:41 UTC


README

usage

composer require viliy/throttle dev-master

vim config/throttle.php

<?php
    return []; // see to .throttle.yml

cp vendor/viliy/throttle/.throttle.yml .throttle.yml

vim config/app.php

    'services' => [
        \FastD\ServiceProvider\CacheServiceProvider::class,
        \FastD\ServiceProvider\LoggerServiceProvider::class,
        \FastD\ServiceProvider\RouteServiceProvider::class,
        
        // added the end
        \Viliy\Throttle\Provider\ThrottleRequestProvider::class,
    ],