Today we finally released Version 4.0.0 of cocur/slugify it 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.

Thanks to everyone who contributed to this release: bartko-s, mhujer, kubawerlos, FabienPapet, snapshotpl and franmomu.

As usual, you can install cocur/slugify using Composer:

composer require cocur/slugify

Here are the full release notes: