How to Get URL Segment in Laravel?

By Hardik Savani September 5, 2020 Category : Laravel

Whenever you need to get current url segment then you can get using Request facade. I give you example one for using Request facade. so you can get segment from url and how you can see both example.




{{ Request::segment(1) }}


We are Recommending you