PHP code example of torchlighttechnology / api-security-plugin

1. Go to this page and download the library: Download torchlighttechnology/api-security-plugin library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

torchlighttechnology / api-security-plugin example snippets


public function initialize()
{
        parent::initialize();

        $this->loadComponent('ApiGateway.AwsAuthenticator');
}

REDIS_SERVER