PHP code example of smylmrz / dashboard

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

    

smylmrz / dashboard example snippets



return [
    'roles' => [
        'admin',  // Do not remove or reorder the admin or it will cause errors.
        'editor',
        'contributor',
        'viewer'
    ]
];