1. Go to this page and download the library: Download lastguest/aleph 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/ */
lastguest / aleph example snippets
// The index route
get('/',function(){
echo "<h1>Hello!</h1>";
});
// Listen POST on /
post('/',function(){
echo "<h1>Received POST Data:</h1><pre>";
print_r($_POST);
echo "</pre>";
});