PHP code example of jobadssit / weight-converter

1. Go to this page and download the library: Download jobadssit/weight-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/ */

    

jobadssit / weight-converter example snippets


echo Jobadssist\WeightConverter\WeightConverter::kilograms(100)->toPounds(). PHP_EOL;
echo Jobadssist\WeightConverter\WeightConverter::kilograms(100)->toStones(). PHP_EOL;