slugify icon indicating copy to clipboard operation
slugify copied to clipboard

Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte.

Results 43 slugify issues
Sort by recently updated
recently updated
newest added

In https://github.com/cocur/slugify/blob/master/Resources/rules/portuguese-brazil.json (line 66) and https://github.com/cocur/slugify/blob/master/src/RuleProvider/DefaultRuleProvider.php (line 8081), adjust for correct caracter: Instead: _'é' => 'é',_ Use: **'é' => 'e',**

@lookyman - as probably the Nette Maintainer here I tried to update it to Nette3 - it's working for me, but I can't set up the tests on my local...

Is there any way to get Bangla character support?

How about a bit more dirty string with ampersands after `htmlspecialchars()`? `$str = '*** ____ "Hello world" Anything ___ *** - something';` The above gives us `quot-hello-world-quot-anything-something`. Shouldn't the `slugify`...

Removes the need to manually register the service provider and facade in Laravel 5.5 and up. https://laravel.com/docs/5.7/packages#package-discovery

The bundle integrates nicely with Symfony, but I discovered setup has to be done manually. Maybe the maintainer can add Symfony Flex recipe for 4.x integration?

Please, take a look, thanks!

Please, take a look. thanks!

As per the documentation, slugify has a method addRule which we can call to add custom rules, same is not available via twig bridge. We have a use-case where we...

enhancement

There is a rule for the lower case version of the german Eszett / scharfes S (ẞ \xc3\x9f) but not for the uppercase (ẞ \xe1\xba\x9e). Should be `"ẞ": "SS"` I...