PHP code example of further / chronos

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

    

further / chronos example snippets


...
Chronos\ChronosServiceProvider::class,
...

...
Collective\Html\HtmlServiceProvider::class,
Intervention\Image\ImageServiceProvider::class,
Lavary\Menu\ServiceProvider::class,
...

...
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
'Image' => Intervention\Image\Facades\Image::class,
'Menu' => Lavary\Menu\Facade::class,
...

...
use ChronosUser;
...

...
/**
 * The accessors to append to the model's array form.
 *
 * @var array
 */
protected $appends = ['endpoints', 'name'];
...
app/config/app.php
app/config/app.php

php artisan migrate
php artisan db:seed --class=\\Chronos\\Database\\Seeders\\DatabaseSeeder

php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"

php artisan migrate