PHP code example of eschmar / slugify-bundle
1. Go to this page and download the library: Download eschmar/slugify-bundle 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/ */
eschmar / slugify-bundle example snippets
new Eschmar\SlugifyBundle\EschmarSlugifyBundle(),
use Eschmar\SlugifyBundle\Util\Slug;
$test = Slug::ify("String to be slugified");
// results in $test == "string-to-be-slugified"