PHP code example of webup / helium-core

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

    

webup / helium-core example snippets




return [
    ...
    'guards' => [
        ...
        'admin' => [
            'driver' => 'session',
            'provider' => 'admin_users',
        ],
    ],

    'providers' => [
        ...
        'admin_users' => [
            'driver' => 'eloquent',
            'model' => App\Models\Admin\AdminUser::class,
        ],
    ],
];
bash
php artisan helium:publish
bash
php artisan helium:publish
> User