slugify
slugify copied to clipboard
Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte.
Hello, composer say: Package zendframework/zend-modulemanager is abandoned, you should avoid using it. Use laminas/laminas-modulemanager instead. Can you fix this....
via ```dump-rules.php``` we can now dump "Portable ASCII" mappings into the "rules"-directory --- This change is [](https://reviewable.io/reviews/cocur/slugify/271)
I'm trying to use the slugify component but I'm getting a different replacement for the character `ç` on `portuguese-brazilian` ruleset. The generated file (e.g DefaultRuleProvider) has the character `ç` mapping...
Currently, `b&c` gets slugified to `b_c`, but I think `b_and_c` would be better. So what about adding a `&` line to every language ruleset, replacing it with the word `...
According to https://github.com/cocur/slugify/blob/master/Resources/rules/austrian.json#L3 and https://github.com/cocur/slugify/blob/master/Resources/rules/german.json#L3 "Österreich" will be slugified to "OEsterreich", but it should be "Oesterreich". However, when it's all uppercase "OESTERREICH" is correct (not "OeSTERREICH"). So the perfect (?)...
I get a TypeError with Nette 3: > Argument 1 passed to `Cocur\Slugify\Bridge\Nette\SlugifyExtension::Cocur\Slugify\Bridge\Nette\{closure}()` must be an instance of `Nette\DI\Definitions\ServiceDefinition`, instance of `Nette\DI\Definitions\FactoryDefinition` given, called in `vendor/cocur/slugify/src/Bridge/Nette/SlugifyExtension.php` on line 42 I...
Hey, I have updated the Nette DI bridge (Cocur\Slugify\Bridge\Nette\SlugifyExtension). I do not, however, write tests much and I generally don't use Mockery either, so I was unable to update the...
Input is: Saurabh's Blog Expected output: saurabhs-blog Actual output: saurabh-s-blog
The defer boolean property has been deprecated for laravel 5.8 and above
The latest version of this package conflicts in composer with the Twig version I currently have, however I have no intention of using the Twig integration. I presume the conflict...