PHPackages                             laraxot/panel-modules - 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. laraxot/panel-modules

ActiveLibrary[Admin Panels](/categories/admin)

laraxot/panel-modules
=====================

Support for nwidart/laravel-modules in filamentphp

02[4 PRs](https://github.com/laraxot/panel-modules/pulls)PHP

Since Jun 24Pushed 1y ago2 watchersCompare

[ Source](https://github.com/laraxot/panel-modules)[ Packagist](https://packagist.org/packages/laraxot/panel-modules)[ RSS](/packages/laraxot-panel-modules/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

 [![Tests](https://camo.githubusercontent.com/09023ccf9de79bf2c20c257ebec09fb53c6a2df772f2d03af5df449c82ef24a5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736176616e6e61626974732f66696c616d656e742d6d6f64756c65732f72756e2d74657374732e796d6c3f6272616e63683d332e78266c6162656c3d7465737473267374796c653d666f722d7468652d6261646765266c6f676f3d676974687562)](https://github.com/savannabits/filament-modules/actions?query=workflow%3Arun-tests+branch%3A3.x) [![Styling](https://camo.githubusercontent.com/d2289811e9a29399ba519e9ae2a4b92b1a7481218be525d67b531cd8ae34fa8d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736176616e6e61626974732f66696c616d656e742d6d6f64756c65732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d332e78266c6162656c3d636f64652532307374796c65267374796c653d666f722d7468652d6261646765266c6f676f3d676974687562)](https://github.com/savannabits/filament-modules/actions?query=workflow%fix-php-code-style-issues+branch%3A3.x) [![Laravel v9.x](https://camo.githubusercontent.com/25242f3980f58cac4761477eeb8aaf08f483af9313019d7df7bc07fc42deea69/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d76392e782d4646324432303f7374796c653d666f722d7468652d6261646765266c6f676f3d6c61726176656c)](https://laravel.com) [![Filament v3.x](https://camo.githubusercontent.com/2ebf8f5d8381f8180a10747d9a977f96929a05ce46dec64650368bfff20e26f7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e745048502d76332e782d4642373041393f7374796c653d666f722d7468652d6261646765266c6f676f3d66696c616d656e74)](https://beta.filamentphp.com) [![PHP 8.1](https://camo.githubusercontent.com/f828b436a9f10bce9f30864883ab5b07c5f9bd5e21bf275312ad61f37dedce3b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312d3737374242343f7374796c653d666f722d7468652d6261646765266c6f676f3d706870)](https://php.net) [![Packagist](https://camo.githubusercontent.com/f2371a1e7b5943a258fe039817b074a89896554664e8be9cfaa5d6775040d1b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c617261786f742f70616e656c2d6d6f64756c65732e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d686f6d65)](https://packagist.org/packages/laraxot/panel-modules)

Modules is a FilamentPHP Plugin to enable easy integration with `nwidart/laravel-modules`

**NB: These docs are for v3, which only supports Filament 3. If you are using Filament v2, [see the documentation here](https://github.com/savannabits/filament-modules/tree/main#readme) to get started.**

For example, if you have two modules (**Blog** and **Pos**), you should be able to have filament installed in each module with separate resources as below:

- Directory **Modules/Blog/Filament** should enable you to access the admin panel via `http://yoururl/blog/admin`
- Directory **Modules/Pos/Filament** should enable you to access the admin panel via `http://yoururl/pos/admin`
- We can even have another context under **Modules/Pos/Filament2** should enable you to access the admin panel via `http://yoururl/pos/admin2` or whichever path you configure for that context.

Each of the above directories should have their own distinct **Pages, Resources** and **Widgets**. Each of them also has a config under the module's Config folder allowing you to customize a number of parameters per context, e.g the `path`. Additionally, each of these can have its own customized login page which redirects back to the module.

You can read more about Multiple Context for Filament [Here](https://github.com/iotronlab/filament-multi-guard).

If this is your goal, then you are in the right place.

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

[](#installation)

Before you proceed, this guide assumes that you have configured your app fully to work with Laravel Modules. If you haven't, follow the [Laravel Modules Docs](https://docs.laravelmodules.com/v9/installation-and-setup) before proceeding.

Requirements:

1. Filament &gt;= 3
2. PHP &gt;= 8.1
3. Laravel &gt;= 9.0
4. Livewire &gt;= 3.0
5. nwidart/laravel-modules &gt;=10.0

For example, if you have two modules (**Blog** and **Pos**), you should be able to have filament installed in each module with separate resources as below:

- Directory **Modules/Blog/Filament** should enable you to access the admin panel via `http://yoururl/blog/admin`
- Directory **Modules/Pos/Filament** should enable you to access the admin panel via `http://yoururl/pos/admin`
- We can even have another context under **Modules/Pos/Filament2** should enable you to access the admin panel via `http://yoururl/pos/admin2` or whichever path you configure for that context.

Each of the above directories should have their own distinct **Pages, Resources** and **Widgets**. Each of them also has a config under the module's Config folder allowing you to customize a number of parameters per context, e.g the `path`. Additionally, each of these can have its own customized login page which redirects back to the module.

You can read more about Multiple Context for Filament [Here](https://github.com/iotronlab/filament-multi-guard).

If this is your goal, then you are in the right place.

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

[](#installation-1)

Before you proceed, this guide assumes that you have configured your app fully to work with Laravel Modules. If you haven't, follow the [Laravel Modules Docs](https://docs.laravelmodules.com/v9/installation-and-setup) before proceeding.

- Ensure you have insalled and configured Laravel Modules (follow these instructions)
- Ensure you have installed and configured Filamentphp (follow these instructions)
- You can now install the package via composer:

```
composer require laraxot/panel-modules
```

Usage
-----

[](#usage)

In this guide we are going to use the `Blog module` as an example

### Create your laravel module:

[](#create-your-laravel-module)

If the module that you want to work on does not exist, create it using nwidart/laravel-modules

```
php artisan module:make Blog # Create the blog module
```

### Generate a new Panel inside your module

[](#generate-a-new-panel-inside-your-module)

```
php artisan module:make-filament-panel admin Blog # php artisan module:make-filament-panel [id] [module]
```

If none of the two arguments are passed, the command will ask for each of them interactively. In this example, if the Panel id passed is `admin` and the module is blog, the command will generate a panel with id `blog::admin`. This ID should be used in the next step when generating resources, pages and widgets.

### Generate your resources, pages and widgets as usual, selecting the panel you just created above.

[](#generate-your-resources-pages-and-widgets-as-usual-selecting-the-panel-you-just-created-above)

From here on, use filament as you would normally to generate `resources`, `Pages` and `Widgets`. Be sure to specify the `--panel` option as the ID generated earlier. If the `--panel` option is not passed, the command will ask for it interactively.

```
# For each of these commands, the package will ask for the Model and Panel.
php artisan make:filament-resource
php artisan make:filament-page
php artisan make:filament-widget
```

```
# The Model and Panel arguments are passed inline
php artisan make:filament-resource Author blog::admin
php artisan make:filament-page Library blog::admin
php artisan make:filament-widget BookStats blog::admin
```

**All Done!** For each of the panels generated, you can navigate to your `module-path/panel-path` e.g `blog/admin` to acess your panel and links to resources and pages.

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)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Sam Maosa](https://github.com/laraxot726)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity24

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/fce694e07e5977cd46a2453ebb559b0040301bd5a5a1e841fe9aec666aa9f232?d=identicon)[marco76tv](/maintainers/marco76tv)

---

Top Contributors

[![marco76tv](https://avatars.githubusercontent.com/u/1944941?v=4)](https://github.com/marco76tv "marco76tv (7 commits)")

### Embed Badge

![Health badge](/badges/laraxot-panel-modules/health.svg)

```
[![Health](https://phpackages.com/badges/laraxot-panel-modules/health.svg)](https://phpackages.com/packages/laraxot-panel-modules)
```

###  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)
