NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #576 most downloaded on Packagist
Converts a string into a slug.
Latest stable
v4.7.1
Last release 12 months ago
27 Nov 2025
Release timing varies
gaps range from 6 weeks to 2.1 years
Most releases are documented
notes for 41 of 47 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
47 releases · first in 2012
Drag across the ruler to compare, or tap a release to open it.
Disable Composer audit
#346 Add PHP 8.5 support (by fulopattila122 )
#336 Add Yiddish language ruleset ( yankl ) #340 Fix for Symfony 7.1 (by Evgeny1973 ) #342 Fix PHP 8.4 deprecation about implicit null arguments (by s
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Drop support for PHP 7 and fix version constraints
#327 Add Korean to default ruleset
v4.4.1 (17 September 2023)
v4.4.1 (17 September 2023)
#320 Add Korean (by MrMooky ) #322 Add types to avoid PHP 8.2 deprecation warning (by antoniovj1 )
#317 Add PHP 8.2 support (by fezfez )
#305 Add support for custom fonts (by luca-alsina ) #309 Add handling for undefined rulesets (by aadmathijssen ) #227 Add support for capital sharp s
#244 .gitignore cleanup (by kubawerlos ) #259 Fix portuguese-brazil language (by stephandesouza ) #272 Improve tests about assertions (by peter279k )
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.
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.
- #183 Fix invalid JSON (RusiPapazov) - #185 Fix support for Symfony > 3.3 (by FabienPapet) - #186 Require Multibyte extension in composer.json (by wa
composer.json (by wandersonwhcr)Do not activate Swedish rules by default (fixes broken v2.1 release)
- #90 Replace bindShared with singleton in Laravel bridge (by sunspikes)
- #48 Add support for Vietnamese (by mac2000)
Fix type hinting (by florianeckerstorfer)
protected (by acelaya)- #39 Add support for rulesets (by florianeckerstorfer)
- #19 Adds soft sign rule (by Marchenko Alexandr)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
- #201 Add strip_tags option (by thewilkybarkid) - #212 Fix Macedonian Dze (by franmomu) - #213 Add support for Turkmen (by umbarov) - #216 Add lowerc
Bugfix #165 Added missing French rules to DefaultRuleProvider (by gsouf)
DefaultRuleProvider (by gsouf)getName() to Cocur\Slugify\Bridge\Twig\SlugifyExtension (by TomCan)DefaultRuleProvider alphabetically (by tbmatuka)- #150 Add Romanian rules (by gabiudrescu) - #154 Add French rules (by SuN-80) - #159 Add Estonian rules (by erkimiilberg) - #162 Add support for Twig
- #133 Allow to modify options without creating a new object (by leofeyer) - #135 Add support for Danish (by izehose) - #140 Update Hindi support (by
- #124 Fix support for Bulgarian - #125 Update Silex 2 provider (by JakeFr) - #129 Add support for Croatian (by napravicukod)
- #102 Add transliterations for Azerbaijani (by seferov) - #109 Made integer values into strings (by JonathanMH) - #114 Provide SlugifyServiceProvider
- #104 Add Symfony configuration (by estahn) - #107 Fix Swedish rules
- #78 Use multibyte-safe case convention (by Koc) - #81 Move rules into JSON files (by florianeckerstorfer) - #84 Add tests for very long strings cont
bindShared with singleton in Laravel bridge (by sunspikes)- #75 Remove a duplicate array entry (by irfanevrens) - #76 Add support for Georgian (by TheGIBSON) - #77 Fix Danish transliterations (by kafoso)
- #70 Add missing superscript and subscript digits (by BlueM) - #71 Improve Greek language support (by kostaspt) - #72 Improve Silex integration (by C
Add integration for Plum (by florianeckerstorfer)
- #54 Add support for Burmese characters (by lovetostrike) - #58 Add Nette and Latte integration (by lookyman) - #50 Fix transliteration for Vietnames
No new features or bugfixes, but it's about time to pump Slugify to v1.0.
No new features or bugfixes, but it's about time to pump Slugify to v1.0.
- #28 Add Symfony2 service alias and make Twig extension private (by Kevin Bond)
Improved organisation of characters in Slugify class
Slugify classThis version introduces optional integrations into Symfony2, Silex and Twig. You can still use the library in any other framework. I decided to includ
This version introduces optional integrations into Symfony2, Silex and Twig. You can still use the library in any other framework. I decided to include these bridges because there exist integrations from other developers, but they use outdated versions of cocur/slugify. Including these small bridge classes in the library makes maintaining them a lot easier for me.
- #22 Added support for Esperanto characters (by Michel Petit)
Add missing $separator parameter to SlugifyInterface
$separator parameter to SlugifyInterfaceNearly completely rewritten code, removes iconv support because the underlying library is broken. The code is now better and faster. Many thanks to Ma
Nearly completely rewritten code, removes iconv support because the underlying library is broken. The code is now better and faster. Many thanks to Marchenko Alexandr.
- #11 PSR-4 compatible (by mac2000) - #13 Added editorconfig (by mac2000) - #14 Return empty slug when input is empty and removed unused parameter (by
Nothing published for this version
- #49 Add Zend Framework 2 integration (by acelaya)
- #32 Added Laraval bridge (by cviebrock) - #35 Fixed transliteration for Ď (by michalskop)
Ď (by michalskop)Nothing published for this version
One column per quarter.