PHPackages                             maddoger/yii2-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. maddoger/yii2-admin

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

maddoger/yii2-admin
===================

Admin panel extension for Yii2.

v1.0.4.1(11y ago)168PHP

Since Nov 15Pushed 11y ago1 watchersCompare

[ Source](https://github.com/maddoger/yii2-admin)[ Packagist](https://packagist.org/packages/maddoger/yii2-admin)[ RSS](/packages/maddoger-yii2-admin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

Yii2 Admin Panel Module by maddoger

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist maddoger/yii2-admin "*"

```

or add

```
"maddoger/yii2-admin": "*"

```

to the require section of your `composer.json` file.

\##Migration

```
./yii migrate --migrationPath="@maddoger/admin/migrations"

```

\##Configuration

```
...
'modules' => [
    ...
    'admin' => [
            'class' => 'maddoger\admin\AdminModule',
            'superUserId' => 1,
        ],
    ],
    ...
],

'defaultRoute' => 'admin/site/index',
'layout' => '@maddoger/admin/views/layouts/main.php',
...

```

\##Components

```
'components' => [

    //Admin
    'urlManager' => [
        'rules' => [
            //Admin
            '' => 'admin/site/',
        ]
    ],
    'mailer' => [
        'class' => 'yii\swiftmailer\Mailer',
        'viewPath' => '@maddoger/admin/mail',
        // send all mails to a file by default. You have to set
        // 'useFileTransport' to false and configure a transport
        // for the mailer to send real emails.
        'useFileTransport' => true,
    ],

    //User
    'user' => [
        'identityClass' => 'maddoger\admin\models\User',
        'loginUrl' => ['admin/site/login'],
        'enableAutoLogin' => true,
        'on afterLogin'   => ['maddoger\admin\models\User', 'updateLastVisit'],
        'on afterLogout'   => ['maddoger\admin\models\User', 'updateLastVisit'],
    ],
    'session' => [
        'class' => 'yii\web\DbSession',
        'sessionTable' => 'admin_session',
    ],
...
]

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~10 days

Total

5

Last Release

4162d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/09bde1fb9f0bb0ef7e7b4e6d7d1e346b2c2f1b076bd757ef85722abb37a98000?d=identicon)[maddoger](/maintainers/maddoger)

---

Top Contributors

[![maddoger](https://avatars.githubusercontent.com/u/6214206?v=4)](https://github.com/maddoger "maddoger (149 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/maddoger-yii2-admin/health.svg)](https://phpackages.com/packages/maddoger-yii2-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)[filament/infolists

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

1220.8M36](/packages/filament-infolists)[magefan/module-admin-user-guide

Admin panel user guides.

132.5M1](/packages/magefan-module-admin-user-guide)

PHPackages © 2026

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