PHP code example of aatis / kernel

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

    

aatis / kernel example snippets


use Aatis\Kernel as BaseKernel;

class Kernel extends BaseKernel
{
    public function handle(Request $request): void
    {
        // extra process
        parent::handle($request);
        // extra process
    }
}

$request = Request::createFromGlobals();
(new Kernel())->handle($request);