PHP code example of vria / nodiacritic

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

    

vria / nodiacritic example snippets


use VRia\Utils\NoDiacritic;

$noDiacriticString = NoDiacritic::filter("Révolution française");

use VRia\Utils\NoDiacritic;

$noAccentsNiceStreet = NoDiacritic::filter("Schöne straße", "de");