gastonnina gastonnina - 27 days ago 8
PHP Question

How can I create slugify in symfony2?

I have started to use symfony2 and I have found some functions that exists in symfony 1.4 like slugify. I need this in order to improve the furl.

Please, tell me if you have any suggestion

Answer Source

Use either l3ppard's sluggable extension ( GitHub repository) ...

... or KnpLabs sluggable behavior ( GitHub repository ).