PHP code example of hlacos / lara-mvcms

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

    

hlacos / lara-mvcms example snippets


'multi-auth' => array(
    'admin' => array(
        'driver' => 'eloquent',
        'model' => Hlacos\LaraMvcms\Models\AdminUser::class,
        'email' => 'lara-mvcms::emails.auth.reminder',
    )
),
'password' => array(
    'table' => 'password_resets',
    'expire' => 60,
),
'globals' => [
    'user', 'check'
],
 bash
rm database/migrations/2014_10_12_000000_create_users_table.php
rm database/migrations/2014_10_12_100000_create_password_resets_table.php
 bash
php artisan vendor:publish
 bash
php artisan migrate

$this->call(LaraMvcmsSeeder::class);

php artisan db:seed
 bash
php artisan db:seed --class=LaraMvcmsSeeder
 bash
php artisan lara-mvcms:create-admin-user