PHP code example of sitrick2 / static_router
1. Go to this page and download the library: Download sitrick2/static_router 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/ */
sitrick2 / static_router example snippets
public function get(IRequest $request, $patient_id, $metric_id)
{
...
}
php -S 127.0.0.1:8000