PHP code example of litphp / voltage
1. Go to this page and download the library: Download litphp/voltage 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 / voltage example snippets
bash
php -S localhost:8080 example/hello_world.php
php -S localhost:8080 example/routing.php