PHP code example of reinfi / zf-request-listener

1. Go to this page and download the library: Download reinfi/zf-request-listener 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/ */

    

reinfi / zf-request-listener example snippets


// config/application.config.php

    // This should be an array of module namespaces used in the application.
    'modules' => array(
        'Reinfi\RequestListener',
        'Application',
    ),