PHP code example of mrheoh / slugger
1. Go to this page and download the library: Download mrheoh/slugger 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/ */
mrheoh / slugger example snippets
use Mrheoh\Slugger\Slugger;
...
$slugger = new Slugger();
$mode = new Mrheoh\Slugger\Interface\Yandex();
$mode = new Mrheoh\Slugger\Interface\Gost();
$slugger = new Slugger($mode);
$slugger = new Slugger(null, false);