PHP code example of yusufusta / rasba
1. Go to this page and download the library: Download yusufusta/rasba 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/ */
yusufusta / rasba example snippets
ba = new Rasba\Router();
$Rasba->get('/', function ($Rasba) {
$Rasba->h1('Hello World!')->toBody();
});
$Rasba->run();