cocur/slugify
cocur/slugify converts strings into URL-friendly slugs by stripping special characters and transliterating many languages (e.g., ä → ae). Lightweight with no external dependencies, PSR-4, PHP 8.0–8.5, and integrations for Laravel, Symfony, Twig, and more.
Version 4 does not introduce new major features, but adds support for Symfony 4 and 5, Twig 3 and, most importantly, PHP 7.3 and 7.4.
Support for PHP 5, Twig 1 and Silex is dropped.
composer.json (by wandersonwhcr)DefaultRuleProvider (by gsouf)getName() to Cocur\Slugify\Bridge\Twig\SlugifyExtension (by TomCan)DefaultRuleProvider alphabetically (by tbmatuka)bindShared with singleton in Laravel bridge (by sunspikes)No new features or bugfixes, but it's about time to pump Slugify to v1.0.
protected (by acelaya)How can I help you explore Laravel packages today?