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.1.0(1mo ago)3194MITPHPPHP ^8.2CI passing

Since Jan 24Pushed 6mo 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 2d ago

READMEChangelog (1)Dependencies (16)Versions (3)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.
- 🩺 **Diagnostics Ready**: Designed for Laravel Modular 1.2 `modular:doctor`, `modular:status`, and `modular:debug`.
- 🤖 **Laravel Boost Support**: Ships Boost guidance for module-owned Filament artifacts.
- ✅ **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.

### Diagnostics

[](#diagnostics)

After changing module Filament paths or manifests, run:

```
php artisan modular:doctor
php artisan modular:check
php artisan modular:debug Shop --json
```

Add manifest capabilities such as `filament.resources`, `filament.pages`, and `filament.widgets` to `provides` when a module exposes Filament surfaces.

---

🧪 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

40

—

FairBetter than 86% of packages

Maintenance78

Regular maintenance activity

Popularity17

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity49

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

Every ~165 days

Total

2

Last Release

33d 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

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3915.5k](/packages/rawilk-profile-filament-plugin)[backstage/mails

View logged mails and events in a beautiful Filament UI.

16429.7k](/packages/backstage-mails)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6758.2k2](/packages/marcelweidum-filament-passkeys)[mradder/filament-logger

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

2324.4k1](/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.

250235.8k14](/packages/awcodes-filament-quick-create)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

85240.3k9](/packages/stephenjude-filament-two-factor-authentication)

PHPackages © 2026

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