PHP code example of arslanimamutdinov / iso-standard-4217

1. Go to this page and download the library: Download arslanimamutdinov/iso-standard-4217 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/ */

    

arslanimamutdinov / iso-standard-4217 example snippets


composer 

// returns instance of Currency class
// 

ISO4217::getRawStandardsData();

// returns Currency[]
ISO4217::getAllByAlpha3Codes(['AED', 'GBP']);

// returns Currency[]
ISO4217::getAllByNumericCodes(['784', '826']);

// returns Currency or null if not found
ISO4217::getByAlpha3('AED');

// returns Currency or null if not found
ISO4217::getByNumericCode('784');

// returns Currency[]
ISO4217::getAll();

$currencyUtility = new ISO4217Utility();

$currencyUtility->AED();