PHPackages                             netcore/module-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. netcore/module-admin

ActiveModule[Admin Panels](/categories/admin)

netcore/module-admin
====================

Netcore CMS :: Administration panel base

v3.1.3(7y ago)02.8k[15 issues](https://github.com/netcore/module-admin/issues)MITJavaScriptPHP &gt;=7.1

Since Nov 3Pushed 7y ago5 watchersCompare

[ Source](https://github.com/netcore/module-admin)[ Packagist](https://packagist.org/packages/netcore/module-admin)[ RSS](/packages/netcore-module-admin/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (11)Versions (51)Used By (0)

Administration system
---------------------

[](#administration-system)

This module adds an administration panel to the site, which gives access to other module administration and menu editing. From here you will be able to edit the site content if Content module is present, add/change the menu items etc.

Pre-installation
----------------

[](#pre-installation)

This package is part of Netcore CMS ecosystem and is only functional in a project that has following packages installed:

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

[](#installation)

Require this package with composer:

```
composer require netcore/module-admin

```

Publish config, assets, migrations. Migrate and seed:

```
php artisan module:publish Admin
php artisan module:publish-migration Admin
php artisan migrate
php artisan module:seed Admin

```

Usage
-----

[](#usage)

You can edit the admin menu and client menus in the Menus section

Managing menus: [![Menus](https://camo.githubusercontent.com/965e7c2a1ff336d50fb0c284e50a7e51817e9654e76c26a2ba75571577aa5684/68747470733a2f2f7777772e64726f70626f782e636f6d2f732f7079753532373839317678707336782f53637265656e73686f74253230323031372d31312d303825323030392e34392e31352e706e673f7261773d31)](https://camo.githubusercontent.com/965e7c2a1ff336d50fb0c284e50a7e51817e9654e76c26a2ba75571577aa5684/68747470733a2f2f7777772e64726f70626f782e636f6d2f732f7079753532373839317678707336782f53637265656e73686f74253230323031372d31312d303825323030392e34392e31352e706e673f7261773d31)

You can access the menu an it's items from a menu() helper function

```
menu('leftAdminMenu')->getItemTree();
```

To get all menus use

```
menu()->get();
```

To render a menu from a template use

```
menu('')->render('');
```

By default this function will look in the resources/views/templates/menu directory for the template, but you can also provide a different path

```
menu('')->render('', '');
```

For example

```
menu('leftAdminMenu')->render('menu', 'client.partials');
```

Seeding
-------

[](#seeding)

You can add new menus by creating seeders

```
$menus = [
    [
        name => 'leftAdminMenu',
        type => 'admin',
        items => [
                'name'   => 'Dashboard',
                'icon'   => 'ion-ios-pulse-strong',
                'type'   => 'route',
                'value'  => 'admin::dashboard.index',
                'module' => 'Admin',
                'is_active' => 1,
                'parameters' => json_encode([])
            ],
            [
                'name'   => 'Menus',
                'icon'   => 'ion-navicon-round',
                'type'   => 'route',
                'value'  => 'admin::menu.index',
                'module' => 'Admin',
                'is_active' => 1,
                'active_resolver' => 'admin::menu.*',
                'parameters' => json_encode([])
            ]
    ],
    [
        name => 'mainClientMenu',
        type => 'public',
        items => [
             [
                 'name'   => 'Homepage',
                 'icon'   => 'fa-globe',
                 'type'   => 'url',
                 'value'  => '/',
                 'parameters' => json_encode([])
             ],
         ]
    ]
];

foreach( $menus as $key => $menu ) {
    $menu = Menu::firstOrCreate([
        'name' => $menu['name'],
        'type' => $menu['type']
    ]);

    foreach( $menu['items'] as $item ){
        $menu->items()->firstOrCreate($item);
    }
}
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~5 days

Total

50

Last Release

2853d ago

Major Versions

v1.1.6 → v2.0.02018-02-28

v2.0.1 → v3.0.02018-04-01

1.1.x-dev → v2.0.22018-04-25

v2.0.2 → v3.0.52018-04-25

2.0.x-dev → v3.0.62018-05-11

PHP version history (2 changes)v0.1.1PHP &gt;=7.0

v3.0.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/e524527cce55f4877966909320b064763f66f0c89e3edb5c18cecda4bc01cf24?d=identicon)[netcorelv](/maintainers/netcorelv)

---

Top Contributors

[![dmitrijsmihailovs](https://avatars.githubusercontent.com/u/6555569?v=4)](https://github.com/dmitrijsmihailovs "dmitrijsmihailovs (34 commits)")[![danielsGrietins](https://avatars.githubusercontent.com/u/24427373?v=4)](https://github.com/danielsGrietins "danielsGrietins (30 commits)")[![NViktors](https://avatars.githubusercontent.com/u/26169825?v=4)](https://github.com/NViktors "NViktors (14 commits)")[![speekadievs](https://avatars.githubusercontent.com/u/13509181?v=4)](https://github.com/speekadievs "speekadievs (9 commits)")[![janisblaus](https://avatars.githubusercontent.com/u/1029697?v=4)](https://github.com/janisblaus "janisblaus (4 commits)")[![janisgitendorfs](https://avatars.githubusercontent.com/u/1249446?v=4)](https://github.com/janisgitendorfs "janisgitendorfs (4 commits)")[![gstvr](https://avatars.githubusercontent.com/u/13051632?v=4)](https://github.com/gstvr "gstvr (3 commits)")

---

Tags

laravelmodulesadminnetcore

### Embed Badge

![Health badge](/badges/netcore-module-admin/health.svg)

```
[![Health](https://phpackages.com/badges/netcore-module-admin/health.svg)](https://phpackages.com/packages/netcore-module-admin)
```

###  Alternatives

[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)[laravelrus/sleepingowl

Administrative interface builder for Laravel.

810219.6k3](/packages/laravelrus-sleepingowl)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)

PHPackages © 2026

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