get the current url segment in laravel code example Example: laravel get url segment {{ Request::segment(1) }}