coderseden / material-dashboard-yii2

Material Dashboard for Yii2 Framework - Open Source Bootstrap 4 Material Design Admin for Yii2 Framework

Home Page:https://www.coderseden.com/product/material-dashboard-yii2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tweet

version license

Frontend version: Material Dashboard for Yii2 v1.0.0. More info at https://www.coderseden.com/product/material-dashboard-yii2

Product Image

Speed up your web development with the Bootstrap 4 Admin Dashboard built for Yii2.

Note

We recommend installing this preset on a project that you are starting from scratch, otherwise your project's design might break.

Prerequisites

We have included the Docker with all the config files for building MySQL, PHP and Nginx environment.

To review :

Optional

  • Add to your hosts file on your machine (macOS /etc/hosts, Win C:\Windows\System32\drivers\etc\hosts) the following for quick browser access:

127.0.0.1 material-dashboard.test

  • check the docker/docker-compose.yml for any user/pass you could need like MySQL credentials
  • to access docker container, identify your container from terminal by running docker ps then docker exec -i -t CONTAINER_NAME /bin/bash

All the above are available on linux/mac and windows.

Scripts

In the docker folder, you will find a scripts folder with a few helpers:
scripts/docker.sh up - will start docker
scripts/docker.sh down - will stop all docker containers from your computer
scripts/docker.sh remove - will remove all the docker containers from your computer (use with caution)
*** Please run the commands from the docker folder where the docker-compose.yml file is, otherwise it won't work.

Other notes

  1. Before running the docker command make sure you don't have any web-server or mysql instance running on your computer and blocking port 80, 81, 3360, etc. If you do, Docker will fail to start properly.
  2. All local projects will have their own phpmyadmin interface at http://material-dashboard.test:81
  3. On windows, make sure your project lives in C:/Users/Username/* otherwise things won't work properly.

Docker notes

  1. docker-compose rm will remove loaded containers ( this is applicable when docker-compose.yml is changed ).
  2. docker-compose build --no-cache to build containers from scratch and not from cache.

Installation

  1. Using your editor, duplicate web/config/db-local.php to be web/config/db.php and add your database credentials credentials. If you are using docker as an local environment, then just rename web/config/db-docker.php to be web/config/db.php
  2. Start the docker sh scripts/docker.sh up
  3. Connect to the docker php-fpm using the following command: docker exec -it material-dashboard-php-fpm /bin/bash
  4. Run composer install to install the vendor
  5. After Composer is finished, run migration command php yii migrate/up and type Y

Usage

A user will be already created for you to login from the migration command hello@coderseden.com with password admin123 so you can login and browse.

Besides the dashboard and the auth pages this preset also has a full CRUD example on users management (Create User, View User, Update User, Delete User). All the necessary files (controllers, models, views) are installed out of the box and all the needed routes are added to web/config/web.php. Keep in mind that all of the features can be viewed once you login using the credentials provided above.

Dashboard

You can access the dashboard either by using the "Dashboard" link in the left sidebar.

Table of Contents

Demo

View More.

Documentation

The documentation for the Material Dashboard Yii2 is hosted at our website.

File Structure

β”œβ”€β”€ controllers
β”‚   β”œβ”€β”€ DashboardController.php
β”‚   β”œβ”€β”€ IconsController.php
β”‚   β”œβ”€β”€ MapController.php
β”‚   β”œβ”€β”€ NotificationsController.php
β”‚   β”œβ”€β”€ SiteController.php
β”‚   β”œβ”€β”€ TablesController.php
β”‚   β”œβ”€β”€ TypographyController.php
β”‚   └── UsersController.php
β”œβ”€β”€ migrations
β”‚   └── m200216_223841_create_user_table.php
β”œβ”€β”€ models
β”‚   β”œβ”€β”€ User.php
β”‚   β”œβ”€β”€ UserForgotForm.php
β”‚   β”œβ”€β”€ UserLoginForm.php
β”‚   └── UserSearch.php
β”œβ”€β”€ views
β”‚   β”œβ”€β”€ dashboard
β”‚   β”‚   └── index.php
β”‚   β”œβ”€β”€ icons
β”‚   β”‚   └── index.php
β”‚   β”œβ”€β”€ layouts
β”‚   β”‚   β”œβ”€β”€ admin.php
β”‚   β”‚   β”œβ”€β”€ content.php
β”‚   β”‚   β”œβ”€β”€ footer.php
β”‚   β”‚   β”œβ”€β”€ header.php
β”‚   β”‚   β”œβ”€β”€ left.php
β”‚   β”‚   β”œβ”€β”€ main.php
β”‚   β”‚   └── plugin.php
β”‚   β”œβ”€β”€ map
β”‚   β”‚   └── index.php
β”‚   β”œβ”€β”€ notifications
β”‚   β”‚   └── index.php
β”‚   β”œβ”€β”€ site
β”‚   β”‚   β”œβ”€β”€ error.php
β”‚   β”‚   β”œβ”€β”€ forgot.php
β”‚   β”‚   └── index.php
β”‚   β”œβ”€β”€ tables
β”‚   β”‚   └── index.php
β”‚   β”œβ”€β”€ typography
β”‚   β”‚   └── index.php
β”‚   └── users
β”‚       β”œβ”€β”€ form.php
β”‚       β”œβ”€β”€ list.php
β”‚       └── view.php
β”œβ”€β”€ web
β”‚   β”œβ”€β”€ css
β”‚   β”‚   β”œβ”€β”€ material-dashboard-rtl.css
β”‚   β”‚   β”œβ”€β”€ material-dashboard.css
β”‚   β”‚   β”œβ”€β”€ material-dashboard.css.map
β”‚   β”‚   └── material-dashboard.min.css
β”‚   β”œβ”€β”€ demo
β”‚   β”‚   β”œβ”€β”€ demo.css
β”‚   β”‚   └── demo.js
β”‚   β”œβ”€β”€ img
β”‚   β”‚   β”œβ”€β”€ apple-icon.png
β”‚   β”‚   β”œβ”€β”€ bg2.jpg
β”‚   β”‚   β”œβ”€β”€ city-profile.jpg
β”‚   β”‚   β”œβ”€β”€ city.jpg
β”‚   β”‚   β”œβ”€β”€ cover.jpg
β”‚   β”‚   β”œβ”€β”€ faces
β”‚   β”‚   β”‚   β”œβ”€β”€ avatar.jpg
β”‚   β”‚   β”‚   β”œβ”€β”€ card-profile1-square.jpg
β”‚   β”‚   β”‚   β”œβ”€β”€ card-profile2-square.jpg
β”‚   β”‚   β”‚   └── marc.jpg
β”‚   β”‚   β”œβ”€β”€ favicon.png
β”‚   β”‚   β”œβ”€β”€ login.jpg
β”‚   β”‚   β”œβ”€β”€ mask.png
β”‚   β”‚   β”œβ”€β”€ new_logo.png
β”‚   β”‚   β”œβ”€β”€ sidebar-1.jpg
β”‚   β”‚   β”œβ”€β”€ sidebar-2.jpg
β”‚   β”‚   β”œβ”€β”€ sidebar-3.jpg
β”‚   β”‚   β”œβ”€β”€ sidebar-4.jpg
β”‚   β”‚   └── yii-logo.svg
β”‚   β”œβ”€β”€ js
β”‚   β”‚   β”œβ”€β”€ core
β”‚   β”‚   β”‚   β”œβ”€β”€ bootstrap-material-design.min.js
β”‚   β”‚   β”‚   β”œβ”€β”€ jquery.min.js
β”‚   β”‚   β”‚   └── popper.min.js
β”‚   β”‚   β”œβ”€β”€ material-dashboard.js
β”‚   β”‚   β”œβ”€β”€ material-dashboard.js.map
β”‚   β”‚   β”œβ”€β”€ material-dashboard.min.js
β”‚   β”‚   β”œβ”€β”€ plugin.js
β”‚   β”‚   └── plugins
β”‚   β”‚       β”œβ”€β”€ arrive.min.js
β”‚   β”‚       β”œβ”€β”€ bootstrap-datetimepicker.min.js
β”‚   β”‚       β”œβ”€β”€ bootstrap-notify.js
β”‚   β”‚       β”œβ”€β”€ bootstrap-selectpicker.js
β”‚   β”‚       β”œβ”€β”€ bootstrap-tagsinput.js
β”‚   β”‚       β”œβ”€β”€ chartist.min.js
β”‚   β”‚       β”œβ”€β”€ fullcalendar.min.js
β”‚   β”‚       β”œβ”€β”€ jasny-bootstrap.min.js
β”‚   β”‚       β”œβ”€β”€ jquery-jvectormap.js
β”‚   β”‚       β”œβ”€β”€ jquery.bootstrap-wizard.js
β”‚   β”‚       β”œβ”€β”€ jquery.dataTables.min.js
β”‚   β”‚       β”œβ”€β”€ jquery.tagsinput.js
β”‚   β”‚       β”œβ”€β”€ jquery.validate.min.js
β”‚   β”‚       β”œβ”€β”€ moment.min.js
β”‚   β”‚       β”œβ”€β”€ nouislider.min.js
β”‚   β”‚       β”œβ”€β”€ perfect-scrollbar.jquery.min.js
β”‚   β”‚       └── sweetalert2.js
β”‚   └── scss
β”‚       β”œβ”€β”€ material-dashboard
β”‚       β”‚   β”œβ”€β”€ _alerts.scss
β”‚       β”‚   β”œβ”€β”€ _buttons.scss
β”‚       β”‚   β”œβ”€β”€ _cards.scss
β”‚       β”‚   β”œβ”€β”€ _checkboxes.scss
β”‚       β”‚   β”œβ”€β”€ _core-bootstrap.scss
β”‚       β”‚   β”œβ”€β”€ _dropdown.scss
β”‚       β”‚   β”œβ”€β”€ _example-pages.scss
β”‚       β”‚   β”œβ”€β”€ _fixed-plugin.scss
β”‚       β”‚   β”œβ”€β”€ _footers.scss
β”‚       β”‚   β”œβ”€β”€ _forms.scss
β”‚       β”‚   β”œβ”€β”€ _headers.scss
β”‚       β”‚   β”œβ”€β”€ _images.scss
β”‚       β”‚   β”œβ”€β”€ _info-areas.scss
β”‚       β”‚   β”œβ”€β”€ _input-group.scss
β”‚       β”‚   β”œβ”€β”€ _misc.scss
β”‚       β”‚   β”œβ”€β”€ _mixins.scss
β”‚       β”‚   β”œβ”€β”€ _navbar.scss
β”‚       β”‚   β”œβ”€β”€ _popover.scss
β”‚       β”‚   β”œβ”€β”€ _popups.scss
β”‚       β”‚   β”œβ”€β”€ _radios.scss
β”‚       β”‚   β”œβ”€β”€ _responsive.scss
β”‚       β”‚   β”œβ”€β”€ _ripples.scss
β”‚       β”‚   β”œβ”€β”€ _sidebar-and-main-panel.scss
β”‚       β”‚   β”œβ”€β”€ _social-buttons.scss
β”‚       β”‚   β”œβ”€β”€ _tables.scss
β”‚       β”‚   β”œβ”€β”€ _tabs.scss
β”‚       β”‚   β”œβ”€β”€ _togglebutton.scss
β”‚       β”‚   β”œβ”€β”€ _tooltip.scss
β”‚       β”‚   β”œβ”€β”€ _type.scss
β”‚       β”‚   β”œβ”€β”€ _variables.scss
β”‚       β”‚   β”œβ”€β”€ bootstrap
β”‚       β”‚   β”‚   └── scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _alert.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _badge.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _breadcrumb.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _button-group.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _buttons.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _card.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _carousel.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _close.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _code.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _custom-forms.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _dropdown.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _forms.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _functions.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _grid.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _images.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _input-group.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _jumbotron.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _list-group.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _media.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _mixins.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _modal.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _nav.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _navbar.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _pagination.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _popover.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _print.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _progress.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _reboot.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _root.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _tables.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _tooltip.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _transitions.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _type.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _utilities.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ _variables.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ bootstrap-grid.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ bootstrap-reboot.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ bootstrap.scss
β”‚       β”‚   β”‚       β”œβ”€β”€ mixins
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _alert.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _background-variant.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _badge.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _border-radius.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _box-shadow.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _breakpoints.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _buttons.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _caret.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _clearfix.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _float.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _forms.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _gradients.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _grid-framework.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _grid.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _hover.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _image.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _list-group.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _lists.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _nav-divider.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _navbar-align.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _pagination.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _reset-text.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _resize.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _screen-reader.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _size.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _table-row.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _text-emphasis.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _text-hide.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _text-truncate.scss
β”‚       β”‚   β”‚       β”‚   β”œβ”€β”€ _transition.scss
β”‚       β”‚   β”‚       β”‚   └── _visibility.scss
β”‚       β”‚   β”‚       └── utilities
β”‚       β”‚   β”‚           β”œβ”€β”€ _align.scss
β”‚       β”‚   β”‚           β”œβ”€β”€ _background.scss
β”‚       β”‚   β”‚           β”œβ”€β”€ _borders.scss
β”‚       β”‚   β”‚           β”œβ”€β”€ _clearfix.scss
β”‚       β”‚   β”‚           β”œβ”€β”€ _display.scss
β”‚       β”‚   β”‚           β”œβ”€β”€ _embed.scss
β”‚       β”‚   β”‚           β”œβ”€β”€ _flex.scss
β”‚       β”‚   β”‚           β”œβ”€β”€ _float.scss
β”‚       β”‚   β”‚           β”œβ”€β”€ _position.scss
β”‚       β”‚   β”‚           β”œβ”€β”€ _screenreaders.scss
β”‚       β”‚   β”‚           β”œβ”€β”€ _sizing.scss
β”‚       β”‚   β”‚           β”œβ”€β”€ _spacing.scss
β”‚       β”‚   β”‚           β”œβ”€β”€ _text.scss
β”‚       β”‚   β”‚           └── _visibility.scss
β”‚       β”‚   β”œβ”€β”€ cards
β”‚       β”‚   β”‚   β”œβ”€β”€ _card-plain.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _card-profile.scss
β”‚       β”‚   β”‚   └── _card-stats.scss
β”‚       β”‚   β”œβ”€β”€ mixins
β”‚       β”‚   β”‚   β”œβ”€β”€ _alert.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _animations.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _breakpoints.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _buttons.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _chartist.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _colored-shadows.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _drawer.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _forms.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _hover.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _layout.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _navbar-colors.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _navs.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _sidebar-color.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _transparency.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _type.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _utilities.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _variables.scss
β”‚       β”‚   β”‚   └── _vendor-prefixes.scss
β”‚       β”‚   β”œβ”€β”€ plugins
β”‚       β”‚   β”‚   β”œβ”€β”€ _animate.scss
β”‚       β”‚   β”‚   β”œβ”€β”€ _chartist.scss
β”‚       β”‚   β”‚   └── _perfect-scrollbar.scss
β”‚       β”‚   └── variables
β”‚       β”‚       β”œβ”€β”€ _body.scss
β”‚       β”‚       β”œβ”€β”€ _bootstrap-material-design-base.scss
β”‚       β”‚       β”œβ”€β”€ _bootstrap-material-design.scss
β”‚       β”‚       β”œβ”€β”€ _brand.scss
β”‚       β”‚       β”œβ”€β”€ _buttons.scss
β”‚       β”‚       β”œβ”€β”€ _card.scss
β”‚       β”‚       β”œβ”€β”€ _code.scss
β”‚       β”‚       β”œβ”€β”€ _colors-map.scss
β”‚       β”‚       β”œβ”€β”€ _colors.scss
β”‚       β”‚       β”œβ”€β”€ _custom-forms.scss
β”‚       β”‚       β”œβ”€β”€ _drawer.scss
β”‚       β”‚       β”œβ”€β”€ _dropdown.scss
β”‚       β”‚       β”œβ”€β”€ _forms.scss
β”‚       β”‚       β”œβ”€β”€ _layout.scss
β”‚       β”‚       β”œβ”€β”€ _list-group.scss
β”‚       β”‚       β”œβ”€β”€ _menu.scss
β”‚       β”‚       β”œβ”€β”€ _modals.scss
β”‚       β”‚       β”œβ”€β”€ _nav.scss
β”‚       β”‚       β”œβ”€β”€ _pagination.scss
β”‚       β”‚       β”œβ”€β”€ _shadow.scss
β”‚       β”‚       β”œβ”€β”€ _snackbar.scss
β”‚       β”‚       β”œβ”€β”€ _spacing.scss
β”‚       β”‚       β”œβ”€β”€ _state.scss
β”‚       β”‚       β”œβ”€β”€ _tables.scss
β”‚       β”‚       β”œβ”€β”€ _tooltip.scss
β”‚       β”‚       └── _type.scss
β”‚       └── material-dashboard.scss

Browser Support

At present, we officially aim to support the last two versions of the following browsers:

Resources

HTML Yii2
Material Dashboard HTML Material Dashboard yii2

Change log

Please see the changelog for more information on what has changed recently.

Credits

Reporting Issues

We use GitHub Issues as the official bug tracker for the Material Dashboard Yii2. Here are some advices for our users that want to report an issue:

  1. Make sure that you are using the latest version of the Material Dashboard Yii2 Framework. Check the CHANGELOG from your dashboard on our website.
  2. Providing us reproducible steps for the issue will shorten the time it takes for it to be fixed.
  3. Some issues may be browser specific, so specifying in what browser you encountered the issue might help.

Licensing

Social Media

Creative Tim:

Twitter: https://twitter.com/CreativeTim?ref=mdl-readme

Facebook: https://www.facebook.com/CreativeTim?ref=mdl-readme

Dribbble: https://dribbble.com/creativetim?ref=mdl-readme

Instagram: https://www.instagram.com/CreativeTimOfficial?ref=mdl-readme

CodersEden:

Twitter: https://twitter.com/coderseden?ref=mdl-readme

Facebook: https://www.facebook.com/coderseden?ref=mdl-readme

Instagram: https://www.instagram.com/coderseden?ref=mdl-readme

Blog: https://www.coderseden.com/blog/?ref=mdl-readme

Credits

About

Material Dashboard for Yii2 Framework - Open Source Bootstrap 4 Material Design Admin for Yii2 Framework

https://www.coderseden.com/product/material-dashboard-yii2

License:MIT License


Languages

Language:CSS 63.7%Language:JavaScript 17.6%Language:PHP 13.9%Language:Hack 3.6%Language:Shell 0.4%Language:Dockerfile 0.4%Language:Ruby 0.3%Language:Batchfile 0.1%