PHP code example of 178inaba / tomlara

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

    

178inaba / tomlara example snippets

 php


//namespace App\Console;
namespace App\Http;

//use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
use Illuminate\Foundation\Http\Kernel as HttpKernel;

//class Kernel extends ConsoleKernel
class Kernel extends HttpKernel
{
    // ...

    protected function bootstrappers()
    {
        $this->bootstrappers[] = 'Inaba\Tomlara';
        return $this->bootstrappers;
    }
}