How to get url segment in Laravel?

Posted by LaravelIndia - 5 years ago

Example 1: Get Laravel segment From URL

@extends('layouts.app')
@section('content')
    <h1>Welcome to Out Website</h1>
    {{ Request::segment(1) }}
@endsection

maxwin slot mahjong ways