To create a template in laravel go to following folder :- views/layouts and create a file yourtemplate.blade.php

and paste the following code

@include('includes.dashboard.header')
@include('includes.dashboard.sidebar')
@yield('content')
@include('includes.dashboard.footer')

Include word determines the file for header, sidebar and footer

then you can create the respective files there

 

to add the content you can call this template directly from any view page by using simple code

@extends('layouts.dashboard_layout')
@section('content')




You r Content Goes here 



@stop