PHP code example of wooppay / php-iso-639-converter

1. Go to this page and download the library: Download wooppay/php-iso-639-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/ */

    

wooppay / php-iso-639-converter example snippets


use Wooppay\ISO639\ISO639;

$converter = new ISO639();
$result = $converter->convert('zh', $converter::SUB_FORMAT_639_2b);

composer