PHPackages                             alizharb/laravel-modular-filament - 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. alizharb/laravel-modular-filament

ActiveLibrary[Admin Panels](/categories/admin)

alizharb/laravel-modular-filament
=================================

The official Filament v5 bridge for Laravel Modular offering automatic discovery and modular Artisan commands.

v1.0.0(5mo ago)3106MITPHPPHP ^8.2CI passing

Since Jan 24Pushed 5mo agoCompare

[ Source](https://github.com/AlizHarb/laravel-modular-filament)[ Packagist](https://packagist.org/packages/alizharb/laravel-modular-filament)[ RSS](/packages/alizharb-laravel-modular-filament/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

Laravel Modular Filament 🚀
==========================

[](#laravel-modular-filament-)

**Laravel Modular Filament** is the official bridge for [Laravel Modular](https://github.com/alizharb/laravel-modular). It enables automatic discovery, registration, and first-class Artisan support for Filament resources, pages, widgets, and clusters within your modular architecture.

✨ Features
----------

[](#-features)

- 🔍 **Automatic Discovery**: Automatically scans and registers Filament Resources, Pages, Widgets, and Clusters in `Modules/*/app/Filament`.
- 🏗️ **Modular Artisan Commands**: Enhanced Filament commands (e.g., `make:filament-resource`) with `--module` support.
- 🎨 **Cluster Support**: Full support for creating and discovering Filament Clusters within modules.
- 📄 **Native Stubs**: Uses Filament's native stubs for consistent code generation without version drift.
- ✅ **Strictly Typed**: Fully compatible with PHPStan level 5 (and scalable).

🚀 Installation
--------------

[](#-installation)

Install the package via Composer (requires `alizharb/laravel-modular`):

```
composer require alizharb/laravel-modular-filament
```

The service provider will be automatically registered. It will automatically hook into the `laravel-modular` registry.

---

📖 Usage
-------

[](#-usage)

### Generating Modular Components

[](#generating-modular-components)

Use the provided modular commands with the `--module` flag to generate Filament components directly into your modules.

#### 1. Resources

[](#1-resources)

Create a new Resource in a module.

```
php artisan make:filament-resource Post --module=Blog
```

- **Creates**: `Modules/Blog/app/Filament/Resources/Posts/PostResource.php`
- **View**: `Modules/Blog/resources/views/filament/resources/posts/post-resource/pages/...` (if generated)

#### 2. Pages

[](#2-pages)

Create a new standalone Page in a module.

```
php artisan make:filament-page Dashboard --module=Shop
```

- **Class**: `Modules/Shop/app/Filament/Pages/Dashboard.php`
- **View**: `Modules/Shop/resources/views/filament/pages/dashboard.blade.php`

#### 3. Widgets

[](#3-widgets)

Create a new Widget in a module.

```
php artisan make:filament-widget StatsOverview --module=Analytics
```

- **Class**: `Modules/Analytics/app/Filament/Widgets/StatsOverview.php`
- **View**: `Modules/Analytics/resources/views/filament/widgets/stats-overview.blade.php`

#### 4. Clusters

[](#4-clusters)

Create a new Cluster in a module to group resources and pages.

```
php artisan make:filament-cluster Settings --module=System
```

- **Class**: `Modules/System/app/Filament/Clusters/Settings/SettingsCluster.php`

### Other Commands

[](#other-commands)

Most Filament generation commands are supported with the `--module` flag:

- `make:filament-relation-manager`
- `make:filament-theme`
- `make:filament-table`
- `make:filament-form`
- `make:filament-infolist`

---

⚙️ Configuration
----------------

[](#️-configuration)

The bridge respects your existing `modular.php` paths and Filament's own configuration. No additional configuration is required.

---

🧪 Testing
---------

[](#-testing)

```
vendor/bin/pest
```

---

🤝 Contributing
--------------

[](#-contributing)

Please see [CONTRIBUTING](https://github.com/alizharb/laravel-modular/blob/main/.github/CONTRIBUTING.md) for details.

📄 License
---------

[](#-license)

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

---

 Made with ❤️ by **Ali Harb**

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance73

Regular maintenance activity

Popularity17

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

153d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/34816428?v=4)[Ali Harb](/maintainers/AlizHarb)[@AlizHarb](https://github.com/AlizHarb)

---

Tags

laravelmodulesmodularfilamentfilamentphplaravel-modularautomatic-discovery

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alizharb-laravel-modular-filament/health.svg)

```
[![Health](https://phpackages.com/badges/alizharb-laravel-modular-filament/health.svg)](https://phpackages.com/packages/alizharb-laravel-modular-filament)
```

###  Alternatives

[mradder/filament-logger

Audit logging, activity tracking, exports, alerts, and dashboards for Filament admin panels.

2310.5k](/packages/mradder-filament-logger)[awcodes/filament-quick-create

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

250203.6k11](/packages/awcodes-filament-quick-create)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6643.3k1](/packages/marcelweidum-filament-passkeys)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12451.0k](/packages/jibaymcs-filament-tour)[caresome/filament-neobrutalism-theme

A neobrutalism theme for FilamentPHP admin panels

334.9k1](/packages/caresome-filament-neobrutalism-theme)

PHPackages © 2026

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