PHP code example of litphp / lit

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

    

litphp / lit example snippets

bash
php -S localhost:8080 example/hello_world.php

php -S localhost:8080 example/routing.php