Frontend version: Material Dashboard for Yii2 v1.0.0. More info at https://www.coderseden.com/product/material-dashboard-yii2
Speed up your web development with the Bootstrap 4 Admin Dashboard built for Yii2.
We recommend installing this preset on a project that you are starting from scratch, otherwise your project's design might break.
We have included the Docker with all the config files for building MySQL, PHP and Nginx environment.
To review :
- Add to your hosts file on your machine (macOS
/etc/hosts
, WinC:\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
thendocker exec -i -t CONTAINER_NAME /bin/bash
All the above are available on linux/mac and windows.
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.
- 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.
- All local projects will have their own phpmyadmin interface at
http://material-dashboard.test:81
- On windows, make sure your project lives in C:/Users/Username/* otherwise things won't work properly.
docker-compose rm
will remove loaded containers ( this is applicable when docker-compose.yml is changed ).docker-compose build --no-cache
to build containers from scratch and not from cache.
- Using your editor, duplicate
web/config/db-local.php
to beweb/config/db.php
and add your database credentials credentials. If you are using docker as an local environment, then just renameweb/config/db-docker.php
to beweb/config/db.php
- Start the docker
sh scripts/docker.sh up
- Connect to the docker
php-fpm
using the following command:docker exec -it material-dashboard-php-fpm /bin/bash
- Run
composer install
to install the vendor - After Composer is finished, run migration command
php yii migrate/up
and typeY
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.
You can access the dashboard either by using the "Dashboard" link in the left sidebar.
The documentation for the Material Dashboard Yii2 is hosted at our website.
âââ 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
At present, we officially aim to support the last two versions of the following browsers:
- Demo: https://demo.coderseden.com/material-dashboard-yii2/
- Download Page: https://www.coderseden.com/product/material-dashboard-yii2
- Documentation: https://help.coderseden.com/
- Support: https://www.coderseden.com/contact
- Dashboards:
HTML | Yii2 |
---|---|
Please see the changelog for more information on what has changed recently.
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:
- Make sure that you are using the latest version of the Material Dashboard Yii2 Framework. Check the CHANGELOG from your dashboard on our website.
- Providing us reproducible steps for the issue will shorten the time it takes for it to be fixed.
- Some issues may be browser specific, so specifying in what browser you encountered the issue might help.
- Copyright 2020 CodersEden (https://www.coderseden.com)
- Copyright 2020 Creative Tim (https://www.creative-tim.com/?ref=mdl-readme)
- Creative Tim License.
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
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