PHP code example of ridvanbaluyos / mmda
1. Go to this page and download the library: Download ridvanbaluyos/mmda 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/ */
ridvanbaluyos / mmda example snippets
// once __DIR__ . '/vendor/autoload.php';
// namespace
use Ridvanbaluyos\Mmda\MMDA as MMDA;
// instantiate the MMDA object
$mmda = new MMDA();
$mmda->traffic();
$mmda->highways();
// parameter should be a valid highway (see getting major highways)
$mmda->segments('EDSA');