PHPackages                             andresilva/filament-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. andresilva/filament-modules

ActiveLibrary[Admin Panels](/categories/admin)

andresilva/filament-modules
===========================

Support for nwidart/laravel-modules in filamentphp

v3.0.3(1y ago)0915MITPHPPHP ^8.1

Since Oct 31Pushed 1y agoCompare

[ Source](https://github.com/andre-silvakmm/filament-modules)[ Packagist](https://packagist.org/packages/andresilva/filament-modules)[ Docs](https://github.com/coolsam/modules)[ RSS](/packages/andresilva-filament-modules/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (4)Dependencies (12)Versions (5)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/5b91278d392cdc8d735c6068fd1fe3f04e05930664228db8f31f2e489d0f28d9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6f6c73616d2f6d6f64756c65732e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d686f6d65)](https://packagist.org/packages/coolsam/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.**

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

[](#installation)

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

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

[](#installation-1)

- 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 coolsam/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/coolsam726)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.2% 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 ~59 days

Total

5

Last Release

682d ago

### Community

Maintainers

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

---

Top Contributors

[![coolsam726](https://avatars.githubusercontent.com/u/5610289?v=4)](https://github.com/coolsam726 "coolsam726 (99 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")[![andre-silvakmm](https://avatars.githubusercontent.com/u/74911852?v=4)](https://github.com/andre-silvakmm "andre-silvakmm (4 commits)")[![husam-tariq](https://avatars.githubusercontent.com/u/16601695?v=4)](https://github.com/husam-tariq "husam-tariq (1 commits)")[![marco76tv](https://avatars.githubusercontent.com/u/1944941?v=4)](https://github.com/marco76tv "marco76tv (1 commits)")

---

Tags

laravelmodulescoolsam

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/andresilva-filament-modules/health.svg)

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

###  Alternatives

[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)[coolsam/modules

Organize your Filament Code into modules using nwidart/laravel-modules

20195.1k4](/packages/coolsam-modules)[geo-sot/filament-env-editor

Access .env file though Filament admin panel

2432.3k1](/packages/geo-sot-filament-env-editor)[caresome/filament-neobrutalism-theme

A neobrutalism theme for FilamentPHP admin panels

303.2k](/packages/caresome-filament-neobrutalism-theme)[andreia/filament-ui-switcher

Add a modal with options to switch between different UI layouts and styles (colors, fonts, font sizes).

233.8k](/packages/andreia-filament-ui-switcher)

PHPackages © 2026

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