PHP Classes

How to Use a PHP Dashboard Builder to Add Dashboards to Laravel Applications Using the Package Laravel Material Dashboard Pro: Integrate the Material Dashboard Pro in Laravel

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-08-20 (15 hours ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
laravel-material-das 1.0The PHP License5HTML, Libraries, Content management, GUI, D..., P...
Description 

Author

This package can integrate the Material Dashboard Pro in Laravel.

It provides a Laravel service provider class that can register assets, views, view composers, routes, and locales to use the Material Dashboard Pro theme in Laravel applications.

Configuration files using a PHP array can be provided to configure details like menu items.

Picture of Roman Kozin
  Performance   Level  
Name: Roman Kozin <contact>
Classes: 8 packages by
Country: Ukraine Ukraine
Innovation award
Innovation award
Nominee: 3x

Winner: 2x

Documentation

Material Dashboard PRO for Laravel

Build Status Scrutinizer Code Quality [Github All Releases]()

Installation

composer require kield01/laravel-material-dashboard-pro

Configuration

To publish needed configs and resources (js, css) run:

php artisan vendor:publish --provider=KielD01\LaravelMaterialDashboardPro\Providers\CoreServiceProvider

Versions compatibility

|Laravel/PHP|5.5 |5.6 |5.7 |7.x |8.x | |-----------|------------------|------------------|------------------|------------------|------------------| |5.x |:x:|:x:|:x:|:x:|:x:| |6.x |:x:|:x:|:x:|:x:|:x:| |7.x |:x:|:x:|:x:|:heavy_check_mark:|:heavy_check_mark:| |8.x |:x:|:x:|:x:|:heavy_check_mark:|:heavy_check_mark:|

Menu Building

Menu items has to be placed at the config/mdp/menu.php. Here is an example of the possible menu structure:

<?php

declare(strict_types=1);

return [
    [
        'title' => 'Dashboard',
        'link' => [
            'type' => MenuItemLinkType::ROUTE,
            'route' => 'dashboard.index',
        ],
        'icon' => [MaterialIcon::class, 'dashboard'],
    ],
    [
        'title' => 'Users',
        'icon' => [FontAwesomeIcon::class, 'login'],
        'children' => [
            [
                'title' => 'Create User',
                'link' => [
                    'type' => MenuItemLinkType::URI,
                    'uri' => '/mdp/users/create',
                ],
            ]
        ]
    ],
];

Link type MenuItemLinkType::ROUTE usage strongly recommended instead of MenuItemLinkType::URI

Layouts, Templates, Widgets

|Name|Blade reference| |----|---------------| |Dashboard|mdp::layouts.main| |User Sign In / Sign Up|mdp::layouts.user.auth-v1|

Demo Pages

Dashboard Sign In Sign Up


  Files folder image Files (72)  
File Role Description
Files folder imagedocker (1 file)
Files folder imagesrc (1 file, 10 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file README.md Doc. Read me

  Files folder image Files (72)  /  docker  
File Role Description
  Accessible without login Plain text file docker-compose.yml Data Auxiliary data

  Files folder image Files (72)  /  src  
File Role Description
Files folder imageAuth (1 file)
Files folder imageconfig (1 directory)
Files folder imageHelpers (5 files, 1 directory)
Files folder imageHttp (1 directory)
Files folder imagelang (3 directories)
Files folder imageProviders (1 file, 1 directory)
Files folder imageresources (2 directories)
Files folder imageroutes (1 directory)
Files folder imageTraits (2 files)
Files folder imageView (1 directory)
  Plain text file MaterialDashboardPro.php Class Class source

  Files folder image Files (72)  /  src  /  Auth  
File Role Description
  Plain text file CacheAuth.php Class Class source

  Files folder image Files (72)  /  src  /  config  
File Role Description
Files folder imagemdp (2 files)

  Files folder image Files (72)  /  src  /  config  /  mdp  
File Role Description
  Plain text file core.php Class Class source
  Plain text file menu.php Class Class source

  Files folder image Files (72)  /  src  /  Helpers  
File Role Description
Files folder imageIcons (3 files)
  Plain text file DemoMenuVisibilityResolver.php Class Class source
  Plain text file MenuBuilder.php Class Class source
  Plain text file MenuItem.php Class Class source
  Plain text file MenuItemLinkType.php Class Class source
  Plain text file MenuVisibilityResolver.php Class Class source

  Files folder image Files (72)  /  src  /  Helpers  /  Icons  
File Role Description
  Plain text file FontAwesomeIcon.php Class Class source
  Plain text file Icon.php Class Class source
  Plain text file MaterialIcon.php Class Class source

  Files folder image Files (72)  /  src  /  Http  
File Role Description
Files folder imageControllers (2 files)

  Files folder image Files (72)  /  src  /  Http  /  Controllers  
File Role Description
  Plain text file TestAuthController.php Class Class source
  Plain text file TestDashboardController.php Class Class source

  Files folder image Files (72)  /  src  /  lang  
File Role Description
Files folder imageen (1 file)
Files folder imagekz (1 file)
Files folder imageua (1 file)

  Files folder image Files (72)  /  src  /  lang  /  en  
File Role Description
  Accessible without login Plain text file mdp.php Aux. Configuration script

  Files folder image Files (72)  /  src  /  lang  /  kz  
File Role Description
  Accessible without login Plain text file mdp.php Aux. Configuration script

  Files folder image Files (72)  /  src  /  lang  /  ua  
File Role Description
  Accessible without login Plain text file mdp.php Aux. Configuration script

  Files folder image Files (72)  /  src  /  Providers  
File Role Description
Files folder imageComposers (1 file)
  Plain text file CoreServiceProvider.php Class Class source

  Files folder image Files (72)  /  src  /  Providers  /  Composers  
File Role Description
  Plain text file MdpViewComposer.php Class Class source

  Files folder image Files (72)  /  src  /  resources  
File Role Description
Files folder imageassets (2 directories)
Files folder imageviews (3 directories)

  Files folder image Files (72)  /  src  /  resources  /  assets  
File Role Description
Files folder imagecss (1 file)
Files folder imagejs (2 files, 2 directories)

  Files folder image Files (72)  /  src  /  resources  /  assets  /  css  
File Role Description
  Accessible without login Plain text file material-dashboard.css Data Auxiliary data

  Files folder image Files (72)  /  src  /  resources  /  assets  /  js  
File Role Description
Files folder imagecore (4 files)
Files folder imageplugins (16 files)
  Accessible without login Plain text file dom.js Data Auxiliary data
  Accessible without login Plain text file material-dashboard.js Data Auxiliary data

  Files folder image Files (72)  /  src  /  resources  /  assets  /  js  /  core  
File Role Description
  Accessible without login Plain text file bootstrap-material-design.min.js Data Auxiliary data
  Accessible without login Plain text file bootstrap-selectpicker.js Data Auxiliary data
  Accessible without login Plain text file jquery.min.js Data Auxiliary data
  Accessible without login Plain text file popper.min.js Data Auxiliary data

  Files folder image Files (72)  /  src  /  resources  /  assets  /  js  /  plugins  
File Role Description
  Accessible without login Plain text file arrive.min.js Data Auxiliary data
  Accessible without login Plain text file bootstrap-datetimepicker.min.js Data Auxiliary data
  Accessible without login Plain text file bootstrap-notify.js Data Auxiliary data
  Accessible without login Plain text file bootstrap-selectpicker.js Data Auxiliary data
  Accessible without login Plain text file bootstrap-tagsinput.js Data Auxiliary data
  Accessible without login Plain text file chartist.min.js Data Auxiliary data
  Accessible without login Plain text file fullcalendar.min.js Data Auxiliary data
  Accessible without login Plain text file jasny-bootstrap.min.js Data Auxiliary data
  Accessible without login Plain text file jquery-jvectormap.js Data Auxiliary data
  Accessible without login Plain text file jquery.bootstrap-wizard.js Data Auxiliary data
  Accessible without login Plain text file jquery.tagsinput.js Data Auxiliary data
  Accessible without login Plain text file jquery.validate.min.js Data Auxiliary data
  Accessible without login Plain text file moment.min.js Data Auxiliary data
  Accessible without login Plain text file nouislider.min.js Data Auxiliary data
  Accessible without login Plain text file perfect-scrollbar.min.js Data Auxiliary data
  Accessible without login Plain text file sweetalert2.js Data Auxiliary data

  Files folder image Files (72)  /  src  /  resources  /  views  
File Role Description
Files folder imageelements (4 files, 3 directories)
Files folder imagelayouts (1 file, 1 directory)
Files folder imagepages (2 directories)

  Files folder image Files (72)  /  src  /  resources  /  views  /  elements  
File Role Description
Files folder imageassets (1 directory)
Files folder imagesidebar (2 files)
Files folder imagewidgets (6 files)
  Accessible without login Plain text file fixed-plugin.blade.php Aux. Configuration script
  Accessible without login Plain text file head.blade.php Aux. Configuration script
  Accessible without login Plain text file nav_bar.blade.php Aux. Configuration script
  Accessible without login Plain text file sidebar.blade.php Aux. Configuration script

  Files folder image Files (72)  /  src  /  resources  /  views  /  elements  /  assets  
File Role Description
Files folder imagecore (2 files)

  Files folder image Files (72)  /  src  /  resources  /  views  /  elements  /  assets  /  core  
File Role Description
  Accessible without login Plain text file css.blade.php Aux. Configuration script
  Accessible without login Plain text file js.blade.php Aux. Configuration script

  Files folder image Files (72)  /  src  /  resources  /  views  /  elements  /  sidebar  
File Role Description
  Accessible without login Plain text file children.blade.php Aux. Configuration script
  Accessible without login Plain text file user.blade.php Aux. Configuration script

  Files folder image Files (72)  /  src  /  resources  /  views  /  elements  /  widgets  
File Role Description
  Accessible without login Plain text file card-pricing-plain.blade.php Aux. Configuration script
  Accessible without login Plain text file card-pricing-raised.blade.php Aux. Configuration script
  Accessible without login Plain text file card-testimonial.blade.php Aux. Configuration script
  Accessible without login Plain text file simple-card.blade.php Aux. Configuration script
  Accessible without login Plain text file tasks.blade.php Aux. Configuration script
  Accessible without login Plain text file timeline.blade.php Aux. Configuration script

  Files folder image Files (72)  /  src  /  resources  /  views  /  layouts  
File Role Description
Files folder imageuser (1 file)
  Accessible without login Plain text file main.blade.php Aux. Configuration script

  Files folder image Files (72)  /  src  /  resources  /  views  /  layouts  /  user  
File Role Description
  Accessible without login Plain text file auth-v1.blade.php Aux. Configuration script

  Files folder image Files (72)  /  src  /  resources  /  views  /  pages  
File Role Description
Files folder imagedashboard (1 file)
Files folder imageuser (2 files)

  Files folder image Files (72)  /  src  /  resources  /  views  /  pages  /  dashboard  
File Role Description
  Accessible without login Plain text file index.blade.php Aux. Configuration script

  Files folder image Files (72)  /  src  /  resources  /  views  /  pages  /  user  
File Role Description
  Accessible without login Plain text file login.blade.php Aux. Configuration script
  Accessible without login Plain text file register.blade.php Aux. Configuration script

  Files folder image Files (72)  /  src  /  routes  
File Role Description
Files folder imagemdp (2 files)

  Files folder image Files (72)  /  src  /  routes  /  mdp  
File Role Description
  Plain text file auth.php Class Class source
  Plain text file dashboard.php Class Class source

  Files folder image Files (72)  /  src  /  Traits  
File Role Description
  Plain text file HasUserSidebarFields.php Class Class source
  Plain text file ViewComposerTrait.php Class Class source

  Files folder image Files (72)  /  src  /  View  
File Role Description
Files folder imageComponents (1 file, 1 directory)

  Files folder image Files (72)  /  src  /  View  /  Components  
File Role Description
Files folder imageWidgets (2 files)
  Plain text file ComponentRegistrar.php Class Class source

  Files folder image Files (72)  /  src  /  View  /  Components  /  Widgets  
File Role Description
  Plain text file CardWidget.php Class Class source
  Plain text file Component.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads  
 100%
Total:0
This week:0