Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 676 Bytes

installation.md

File metadata and controls

34 lines (27 loc) · 676 Bytes

Installation

Download the Bundle

Require the bundle with composer. (indragunawan/api-rate-limit-bundle on Packagist);

composer require indragunawan/api-rate-limit-bundle

Enable the Bundle

Enable the bundle in the kernel:

// app/AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Indragunawan\ApiRateLimitBundle\IndragunawanApiRateLimitBundle(),
        );

        // ...
    }
}

Return to the index.