PHP code example of aurmil / slim3-skeleton

1. Go to this page and download the library: Download aurmil/slim3-skeleton 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/ */

    

aurmil / slim3-skeleton example snippets


if (false === $request->getAttribute('csrf_status')) {
    // CSRF check failed
}

$this->flash->addMessage('my_key', 'my_value');