I want to SEO-up my laravel URLs, so I want to change `www.example.com/posts/32` to `www.example.com/posts/how-to-name-routes`

I see that I can manually name routes by chaining the `name()` method on the route, but I want the `name` to be automatically filled from the title of the post. The titles, however, contain spaces So my `Post` object would have the `title` `'How to name routes'` but the URL would be `www.example.com/posts/how-to-name-routes`

Do I need to implement my own string manipulation system or is this something Laravel handles already?