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