Tag : Segment

ItSolutionStuff.com have tutorials for Segment tag, here you can study articles of Segment tag, Segment tag posts collection, most popular and useful tutorials of Segment tag, here you can find list of all relevant posts and example about Segment tag, we have lists of tutorials and examples about Segment tag. very simple and quick example collection of Latest Segment tag.

How to get url segment in Laravel 5?

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. <strong>Example:</strong> <pre class="prettyprint lang-php"> @extends('layouts.app') @section('content') {{ Request::segment(1) }} @endsection </pre>

By Hardik Savani | April 10, 2016 | | 30222 Viewer | Category : Laravel