PHP code example of taochangle / matrix-framework
1. Go to this page and download the library: Download taochangle/matrix-framework 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/ */
taochangle / matrix-framework example snippets
use Matrix\Application;
use Matrix\Http\Request;
ware([
new App\Middlewares\GlobalLogger(),
]);
$app->loadRoutes(__DIR__ . '/routes/web.php');
$app->handle(new Request());