PHP code example of zfmastery / ze-static-pages

1. Go to this page and download the library: Download zfmastery/ze-static-pages 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/ */

    

zfmastery / ze-static-pages example snippets


$app->get('/disclosure', \StaticPages\Action\StaticPagesAction::class, 'static.disclosure');