PHP code example of vbpupil / measurement-converter
1. Go to this page and download the library: Download vbpupil/measurement-converter 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/ */
vbpupil / measurement-converter example snippets
$feet= LinearUnitBuilder::build(new FloatType(18), new StringType('ft'));
dump($feet->getHumanReadableLong());
$converter = new LinearUnitsConverter($feet, new StringType('mm'));