PHPackages                             abbosxon/yii2-material-admin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. abbosxon/yii2-material-admin

ActiveYii2-extension[Admin Panels](/categories/admin)

abbosxon/yii2-material-admin
============================

My first repository

0225CSS

Since Sep 8Pushed 4y agoCompare

[ Source](https://github.com/abbosxon/yii2-material-admin)[ Packagist](https://packagist.org/packages/abbosxon/yii2-material-admin)[ RSS](/packages/abbosxon-yii2-material-admin/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-material-admin
===================

[](#yii2-material-admin)

Assets for using Material Admin Theme in Yii2 Framework

*Backend UI for Yii2 Framework, based on [Material Admin](http://xn--80akiaokt3b4b.xn--d1acnqm.xn--j1amh/templates/demo/materialadmin/html/dashboards/dashboard.html)*The Material Admin Template isn't free and must be purchased before using.

[!["Yii2 AdminLTE Presentation"](./web/img/dashboard.jpg)](./web/img/dashboard.jpg)

This package contains an [Asset Bundle for Yii 2.0 Framework](http://www.yiiframework.com/doc-2.0/guide-structure-assets.html)which registers the CSS files for the Material Admin user-interface.

The CSS files are installed via Yii's recommended usage of the `fxp/composer-asset-plugin` v1.1.1 or later.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

To install the Material Admin Asset run:

```
composer require abbosxon/yii2-material-admin "dev-master"

```

Quick Start
-----------

[](#quick-start)

Once the extension is installed, you can have a **preview** by reconfiguring the path mappings of the view component:

For Yii 2 [Advanced Application Template](https://github.com/yiisoft/yii2-app-advanced) or [Basic Application Template](https://github.com/yiisoft/yii2-app-basic)

```
'components' => [
    'view' => [
         'theme' => [
             'pathMap' => [
                '@app/views' => '@vendor/abbosxon/yii2-material-admin/example-views/yiisoft/yii2-app'
             ],
         ],
    ],
],
```

The Material Admin Asset uses the sourcePath **@templates/materialadmin** as default. However,if you want (or need) you can change the sourcePath reconfiguring as showed below:

```
'components' => [
	'assetManager' => [
		'bundles' => [
			'abbosxon\materialadmin\assets\MaterialAsset' => [
    			'sourcePath' => '@app\myfolder'
			],
		],
	],
],
```

This asset bundle provides sample files for layout and view (see folder `examples/`), they are **not meant to be customized directly in the `vendor/` folder**.

Therefore it is recommended to **copy the views into your application** and adjust them to your needs.

Customization
-------------

[](#customization)

- Copy files from `vendor/abbosxon/yii2-material-admin/example-views/yiisoft/yii2-app` (or other theme) to `@app/views`.
- Remove the custom `view` configuration from your application by deleting the path mappings, if you have made them before.

### Material Admin Plugins

[](#material-admin-plugins)

Assets for Material Admin Plugins are not included in our `MaterialAdminAsset` but you can find all the files in the folder vendors inside the Material Admin Template folder . So if you want to use any of them we recommend to create a custom bundle where you list the plugin files you need:

```
use yii\web\AssetBundle;
class MaterialAdminAsset extends AssetBundle
{
    public $sourcePath = '@app/templates/materialadmin';
    public $js = [
        // more plugin Js here
    ];
    public $css = [
        // more plugin CSS here
    ];
    public $depends = [
        'abbosxon\materialadmin\assets\MaterialAsset',
    ];
}
```

### Left sidebar menu - Widget Menu

[](#left-sidebar-menu---widget-menu)

If you need to add more itens to the menu you can do this way:

```
'items'=>[
	[
		'label' => 'Dashboards Slideshow',
		'icon' => 'now-widgets',
		'url' => ['/site/about'],
		'visible' => true
	],
	[
		'label' => 'Tables',
		'icon' => 'view-list',
		'url' => ['/site'],
		'items' => [
			['label' => 'Normal Tables', 'url' => ['/site/contact'],],
			['label' => 'Data Tables', 'url' => ['/site/index'],],
		],
	],
]
```

By default to icons will be added prefix of [Material Design Icons](http://xn--80akiaokt3b4b.xn--d1acnqm.xn--j1amh/templates/demo/materialadmin/html/ui/icons/materialicons.html)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f0b8126ada70cb8cdc1eda2822c0a69460835ac359922dd175ff082c45a0c7a?d=identicon)[abbosxon](/maintainers/abbosxon)

---

Top Contributors

[![abbosxon](https://avatars.githubusercontent.com/u/10670815?v=4)](https://github.com/abbosxon "abbosxon (11 commits)")

### Embed Badge

![Health badge](/badges/abbosxon-yii2-material-admin/health.svg)

```
[![Health](https://phpackages.com/badges/abbosxon-yii2-material-admin/health.svg)](https://phpackages.com/packages/abbosxon-yii2-material-admin)
```

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[bezhansalleh/filament-exceptions

A Simple &amp; Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

193195.9k13](/packages/bezhansalleh-filament-exceptions)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
