Provides static method to convert strings to slugs as well as a twig filter for symfony. If you only need the static class, you'll find it here.
Composer (Packagist):
composer require eschmar/slugify-bundle ~v2.0 # Symfony Flex
composer require eschmar/slugify-bundle ~v1.0 # Symfony 2
app/Appkernel.php:
new Eschmar\SlugifyBundle\EschmarSlugifyBundle(),
use Eschmar\SlugifyBundle\Util\Slug;
$test = Slug::ify("String to be slugified");
// results in $test == "string-to-be-slugified"
{{ "String to be slugified"|slugify }}
MIT License
How can I help you explore Laravel packages today?