Slug Route CakePHP 4.x

How to write SlugRoute File in 4.x version
something similar to GitHub - maxmasetti/CakePHP-SlugRoute: Slugged routes, urls and sitemap

i need to use the category names instead of id in multiple pages, is that something that cane be achieved by SlugRoute. In 2.x i have used SlugRoute match function for doing this

Anybody have idea?

I would say GitHub - UseMuffin/Slug: Slugging for CakePHP
Check GitHub - FriendsOfCake/awesome-cakephp: A curated list of amazingly awesome CakePHP plugins, resources and shiny things. for more awesome CakePHP 3 and 4 plugins :wink:

1 Like