1. Go to this page and download the library: Download carlosroberto555/expressphp 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/ */
carlosroberto555 / expressphp example snippets
= new ExpressPHP\Express;
$app->use('/', function ($req, $res) {
$res->send('Hello world!');
});
include 'vendor/autoload.php';
$app = new ExpressPHP\Express;
$app->use('/api', app::