Bootstrap 5 responsive admin template

documented by Sean Ngu

Updated on: 20/November/2022
By: Sean Ngu

If you have any questions that are beyond the scope of this help file, please feel free to inbox me your question or send me an email via support email. Thanks so much!

Follow the following step to install the laravel in your localhost
You may refer to their official documentation for how to setup the development environment.
Setup Guide

<!-- run the following command --> 
cd /your-path-url/template_laravel
composer install
npm install
npm run dev
php artisan serve

<!-- browse the url -->

Make sure PHP >= 8.0.0 & node.js has been installed on your localhost / server

File structure overview for Laravel Version

├──template_laravel_startup/      // version without demo pages
└──template_laravel/              // version include all demo pages
    ├── artisan
    ├── composer.json
    ├── package.json
    ├── phpunit.xml
    ├── server.php
    ├── webpack.mix.js
    ├── app/
    ├── bootstrap/
    ├── config/
    ├── database/
    ├── public/
    ├── resources/
    │   ├── lang
    │   ├── js
    │   ├── scss
    │   └── views
    │       ├── errors
    │       ├── layout
    │       ├── pages             
    │       └── partial
    ├── routes/
    ├── storage/
    └── tests/

We split the header, sidebar, footer and etc into few other part and include it in the base file. Base file has been located in /resources/views/layouts/default.blade.php.

<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}"{{ (!empty($htmlAttribute)) ? $htmlAttribute : '' }}>
<body class="{{ (!empty($bodyClass)) ? $bodyClass : '' }}">
  <!-- BEGIN #app -->
  <div id="app" class="app {{ (!empty($appClass)) ? $appClass : '' }}">
    @includeWhen(empty($appHeaderHide), 'partial.header')

    @includeWhen(empty($appSidebarHide), 'partial.sidebar')

    @if (empty($appContentHide))
      <!-- BEGIN #content -->
      <div id="content" class="app-content  {{ (!empty($appContentClass)) ? $appContentClass : '' }}">
      <!-- END #content -->

    @includeWhen(!empty($appFooter), 'partial.footer')
  <!-- END #app -->




Below is the list of supported variable / setting in view file.

Variable Usage
@extends('layout.default', ['htmlAttribute' => '']) Set the attribute for html tag
@extends('layout.default', ['bodyClass' => '']) Set the css class for body tag
@extends('layout.default', ['appClass' => '']) Set the app class for div#app tag
@extends('layout.default', ['appContentClass' => '']) Set the app content class for div#app-content tag
@extends('layout.default', ['appHeaderHide' => true]) Flag to exclude header from your page
@extends('layout.default', ['appSidebarHide' => true]) Flag to exclude sidebar from your page
@extends('layout.default', ['appContentHide' => true]) Flag to place your page content outside #app-content container
@extends('layout.default', ['appFooter' => true]) Flag to include footer in your page

Using laravel stacks to add css / js by page level.

// example for how to add page level css
  <link href="/assets/plugins/photoswipe/dist/photoswipe.css" rel="stylesheet" />

// example for how to add page level js
  <script src="/assets/plugins/photoswipe/dist/photoswipe-ui-default.min.js"></script>

The default sidebar menu generator will set the .menu-item as active stat if the current url match with the pre-defined url for sidebar menu. Below is an example for custom active stat for those dynamic url like /product/edit/124.

// set the menu as active stat from .blade file without matching the url
  config(['sidebar.activeUrl' => '/pos/kitchen-order']);

All the css files used in Studio Larvel has been compiled into two files app.min.css and vendor.min.css by laravel mix. You may change the color scheme from /resources/scss/_variables.scss.

  1. FontAwesome
  2. Bootstrap Icons
  3. jQuery UI
  4. Animate.css
  5. Pace Loader
  6. Perfect Scrollbar
  1. Bootstrap
  2. HUD Core CSS

This theme compiles 6 javascript library into two files app.min.js and vendor.min.js by laravel mix.

  1. Pace Loader
  2. jQuery
  3. jQuery UI
  4. Bootstrap
  5. Perfect Scrollbar
  6. JavaScript Cookie
  1. HUD Core Javascript

Sidebar collapsed:

<div id="app" class="app app-sidebar-collapsed">

Full height:

<div id="app" class="app app-content-full-height">
  <div id="content" class="app-content" data-scrollbar="true" data-height="100%" 

Full width:

<div id="app" class="app app-content-full-width">

Fixed footer:

<div id="app" class="app app-footer-fixed">
  <div id="footer" class="app-footer">
    © 2020 seanTheme All Right Reserved

Boxed Layout

<body class="app-with-bg">
  <div id="app" class="app app-boxed-layout">

I've used the following images, icons or other files as listed.

jQuery Plugins

  1. animate.css: https://daneden.github.io/animate.css/
  2. ApexCharts: https://apexcharts.com/
  3. jQuery File Upload: https://blueimp.github.io/jQuery-File-Upload/
  4. Bootstrap: http://getbootstrap.com/
  5. Bootstrap Icons: https://icons.getbootstrap.com/
  6. Bootstrap Datepicker: https://uxsolutions.github.io/bootstrap-datepicker/
  7. Bootstrap Daterangepicker: http://www.daterangepicker.com/
  8. Bootstrap Slider: https://www.eyecon.ro/bootstrap-slider/
  9. Bootstrap Timepicker: http://jdewit.github.io/bootstrap-timepicker/
  10. Bootstrap Table: https://bootstrap-table.com/
  11. Chart.js: https://chartjs.org
  12. DataTables: https://datatables.net/
  13. FontAwesome: https://fontawesome.com/
  14. Fullcalendar: https://fullcalendar.io/
  15. jQuery: https://jquery.com/
  16. jQuery UI: https://jqueryui.com/
  17. jQuery Typeahead: http://www.runningcoder.org/jquerytypeahead/
  18. jquery.maskedinput: https://github.com/excellalabs/jquery.maskedinput
  19. Javascript Cookie: https://github.com/js-cookie/js-cookie
  20. jszip: https://github.com/Stuk/jszip
  21. jVectormap: http://jvectormap.com/
  22. Lity: https://sorgalla.com/lity/
  23. Tag-It: http://aehlke.github.io/tag-it/
  24. Selectpicker: https://picker.uhlir.dev/
  25. Spectrum: https://seballot.github.io/spectrum/
  26. kbw-countdown: https://github.com/kbwood/countdown
  27. moment: http://momentjs.com/
  28. Pace: https://github.com/HubSpot/pace
  29. pdfmake: https://github.com/bpampuch/pdfmake
  30. Perfect Scrollbar: https://github.com/mdbootstrap/perfect-scrollbar
  31. PhotoSwipe: https://photoswipe.com/
  32. PicMo: https://picmojs.com/
  33. Popper.js: https://popper.js.org/
  34. Summernote: https://github.com/summernote/summernote


  1. Unsplash: https://unsplash.com/
  2. Freepik: https://www.freepik.com/