PHP code example of silencenjoyer / silence-kernel

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

    

silencenjoyer / silence-kernel example snippets


$config = KernelConfig::withBasePath(dirname(__DIR__, 2))
    ->withExtensions([
        new RouteExtension(),
        new TwigExtension(),
    ])
;

(new Kernel($config))->run(); // launches the application