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 1mo ago

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 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

1098d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a81c5266912c039021715b77d96ad65b6aac3a76f39430331f31ea240f0c14e?d=identicon)[bensherred](/maintainers/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

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[awcodes/filament-quick-create

Plugin for Filament Admin that adds a dropdown menu to the header to quickly create new items.

246177.6k7](/packages/awcodes-filament-quick-create)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)[ralphjsmit/laravel-filament-seo

A package to combine the power of Laravel SEO and Filament Admin.

15398.7k10](/packages/ralphjsmit-laravel-filament-seo)[a2insights/filament-saas

Filament Saas for A2Insights

161.1k](/packages/a2insights-filament-saas)[geo-sot/filament-env-editor

Access .env file though Filament admin panel

2432.3k1](/packages/geo-sot-filament-env-editor)

PHPackages © 2026

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