How to Build a Blog with Laravel


Parts 24 - Slugs in our URL Routes [How to Build a Blog with Laravel 5 Series]


Hide/Show description

It is time to finish up working on our slugs. We have modified our database to accept slugs, made sure it was indexed, then we went back and finished up our Post CRUD to accept slugs and now its time to implement them when people search for them in our application. We learn a lot about Laravel Routes in this video and passing in parameters into our methods. We will create a new controller called BlogController, which will contain our single post, and eventually our listed posts and so forth. Route::get() is how we set a route for our slugs. We will also make sure that the parameters are compatible by chaining a where() method after our Route::get(). --- MORE FROM THIS SERIES --- Previous Video [Part 23]: https://youtu.be/mM2bZiD06A0 Next video [Part 25]: Coming Soon Full Playlist for the "How to Build a Blog with Laravel" Series: https://www.youtube.com/playlist?list=PLwAKR305CRO-Q90J---jXVzbOd4CDRbVx --- FOLLOW ME --- Subscribe for New Releases! Twitter - http://twitter.com/_jacurtis (ask me questions!) --- QUESTIONS? --- Leave a comment below and I or someone else can help you. For quick questions you may also want to ask me on Twitter, I respond almost immediately. Email me [email protected] for private or detailed inquiries. Thanks for all your support! --- Tags: slugs in our URL and routing in PHP Laravel. Laravel 5.2 Framework Tutorial Easy to learn. Best tut about Laravel. Build a blog with Laravel Tutorial. Beginner tutorial. How to video. PHP framework easy best tutorial. Laravel 5 coding in PHP with Alex.