PHP code example of open20 / open2-cms-module-userauth

1. Go to this page and download the library: Download open20/open2-cms-module-userauth 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/ */

    

open20 / open2-cms-module-userauth example snippets


'modules' => [
    'userauthfrontend' => [
        'class' => 'amos\userauth\frontend\Module',
        'useAppViewPath' => false, // When enabled the views will be looked up in the @app/views folder, otherwise the views shipped with the module will be used.
    ],
],