PHP code example of thecodingmachine / stratigility-harmony
1. Go to this page and download the library: Download thecodingmachine/stratigility-harmony 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/ */
thecodingmachine / stratigility-harmony example snippets
$server = $container->get(Server::class);
$server->listen();
$middlewarePipe = $container->get(MiddlewarePipe::class);
$middlewarePipe->pipe($myMiddleware);