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

ActiveLibrary[Admin Panels](/categories/admin)

hex-digital/admin-module
========================

Module for providing core admin functionality to our Laravel projects.

v0.2.0(3y ago)027[15 PRs](https://github.com/hex-digital/admin-module/pulls)MITPHPPHP ^8.2

Since May 12Pushed 2y ago2 watchersCompare

[ Source](https://github.com/hex-digital/admin-module)[ Packagist](https://packagist.org/packages/hex-digital/admin-module)[ Docs](https://github.com/hex-digital/admin-module)[ RSS](/packages/hex-digital-admin-module/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (13)Versions (18)Used By (0)

Admin Module
============

[](#admin-module)

[![Latest Version on Packagist](https://camo.githubusercontent.com/46d2b604284430e5cbdcf171e98ffb4a5944f46799c62a02062234553ef574e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6865782d6469676974616c2f61646d696e2d6d6f64756c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hex-digital/admin-module)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ec4b9fe54e9310174c44abbe2a0b03f3b627ab071a917bad2675bb067fc8f607/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6865782d6469676974616c2f61646d696e2d6d6f64756c652f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/hex-digital/admin-module/actions/workflows/tests.yaml)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/93196111f68dd9fcedf8364cedc84762139a82922c61fe9a32d61676757ad9b4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6865782d6469676974616c2f61646d696e2d6d6f64756c652f636f64696e672d7374616e64617264732e796d6c3f6c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/hex-digital/admin-module/actions/workflows/coding-standards.yml)[![Total Downloads](https://camo.githubusercontent.com/6b1fad38c855be850a6c70050d0cc0b1e5d237b1e6fcdb582fc897e1fc3212f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6865782d6469676974616c2f61646d696e2d6d6f64756c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hex-digital/admin-module)

This module provides the core admin functionality for our Laravel projects. This module automatically takes care of installing and configuring [Filament](https://filamentphp.com), managing admins and managing admin roles and permissions.

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

[](#installation)

To get started with the admin module, you can install the pacakge via composer:

```
composer require hex-digital/admin-module
```

Next, you'll need to publish the config file, migrations and assets for the module and module dependencies. To simplfy this, the module comes with an install command:

```
php artisan admin-module:install
```

Every time you upgrade the module or Filament, you need to run the `admim:module` and `filament:upgrade` commands. We recommend adding this to your composer.json's post-update-cmd:

```
"post-update-cmd": [
    // ...
    "@php artisan filament:upgrade",
    "@php artisan admin-module:publish",
],
```

You should now run your migrations and sync the permissions:

```
php artisan migrate
php artisan permission:sync
```

Lastly, you can create a new admin account using:

```
php artisan make:filament-user
```

Visit your admin panel at `/admin` to sign in, and you're ready to start building.

Usage
-----

[](#usage)

### Models &amp; Resources

[](#models--resources)

The admin module ships with an `Admin` which is used for authentication. You can override this model by setting the `admin-module.admins.model` config.

Under the hood, we use the Spatie Roles and Permissions package for authorization of admins. The admin module exposes a resource for managing both admins and roles.

You can customise these models / resources by editing the config.

### Permissions

[](#permissions)

The admin module exposes a `permission:sync` commandwhich allows you to sync permissions which can then be assigned to roles. By default, the module provides permissions for managing admins and roles. However, you can add your own permissions to the `admin-module.permissions` config.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability, please send an e-mail to . All security vulnerabilities will be promptly addressed.

Credits
-------

[](#credits)

- [Ben Sherred](https://github.com/bensherred)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

Total

2

Last Release

1144d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22666637?v=4)[Ben Sherred](/maintainers/bensherred)[@bensherred](https://github.com/bensherred)

![](https://www.gravatar.com/avatar/66b2d279aa7be1c84839a0dd09c151ca219f7aa4f1a6ad4cb6eaf976703c5952?d=identicon)[hexdigital](/maintainers/hexdigital)

---

Top Contributors

[![bensherred](https://avatars.githubusercontent.com/u/22666637?v=4)](https://github.com/bensherred "bensherred (54 commits)")

---

Tags

adminlaravelmodulelaravelAdmin Modulehex-digital

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[bezhansalleh/filament-exceptions

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

196223.8k15](/packages/bezhansalleh-filament-exceptions)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[a2insights/filament-saas

Filament Saas for A2Insights

171.7k](/packages/a2insights-filament-saas)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)

PHPackages © 2026

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