PHP code example of mouf / security.userservice-splash

1. Go to this page and download the library: Download mouf/security.userservice-splash 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/ */

    

mouf / security.userservice-splash example snippets


/**
 * A sample default action that 
 */
public function index() { ... }

/**
 * A sample default action that (middlewareName = "myUnauthorizedMiddleware")
 */
public function index() { ... }