1. Go to this page and download the library: Download umpirsky/locurro 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/ */
umpirsky / locurro example snippets
/* @var $converter Locurro\Converter\Currency */
$converter->convert(
new Money\Money(100, new Money\Currency('EUR')),
new Money\Currency('RSD')
);
/* @var $converter Locurro\Converter\Locale */
$converter->convert(
new Money\Money(100, new Money\Currency('EUR')),
'sr-Cyrl-RS'
);
/* @var $converter Locurro\Converter\Country */
$converter->convert(
new Money\Money(100, new Money\Currency('EUR')),
'RS'
);
/* @var $converter Locurro\Converter\IpAddress */
$converter->convert(
new Money\Money(100, new Money\Currency('EUR')),
'109.92.115.78'
);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.