PHP code example of mrcore / wiki

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

    

mrcore / wiki example snippets


'modules' => [
    #...
    'Mrcore\Wiki' => []
    #...
]

#...
'assets' => [
    '%app%',
    'Mrcore\BootswatchTheme',
    'Mrcore\Auth',
    'Mrcore\Wiki',
],

'views' => [
    '%app%',
    'Mrcore\Auth',
    'Mrcore\Wiki',
    'Mrcore\BootswatchTheme',
],

'routes' => [
    'Mrcore\Wiki',
    '%app%',
    'Mrcore\Auth',
    'Mrcore\Foundation',
],
#...

    'guards' => [
        'web' => [
            'driver' => 'mrcore',
            'provider' => 'users',
        ],

        'api' => [
            'driver' => 'token',
            'provider' => 'users',
        ],
    ],

    'providers' => [
        'users' => [
            'driver' => 'eloquent',
            'model' => Mrcore\Auth\Models\User::class,
        ],
    ],