PHP code example of honey-comb / core

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

    

honey-comb / core example snippets


    'ignoreDefaultMiddleware' => [ ],

'defaults' => [
    'guard' => 'api',
    'passwords' => 'users',
],

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

'providers' => [
    'users' => [
        'driver' => 'eloquent',
        'model' => \HoneyComb\Core\Models\HCUser::class,
    ],
],

'passwords' => [
    'users' => [
        'provider' => 'users',
        'table' => 'hc_user_password_reset',
        'expire' => 60,
    ],
],



namespace App\Exceptions;

use HoneyComb\Core\Exceptions\Traits\HCExceptionHandlerTrait;

class Handler extends ExceptionHandler
{
    use HCExceptionHandlerTrait;
}

    'collation' => 'utf8mb4_unicode_520_ci'