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(3mo ago)317↓100%MITPHPPHP ^8.2CI passing

Since Jan 24Pushed 3mo 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 1mo 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

37

—

LowBetter than 83% of packages

Maintenance79

Regular maintenance activity

Popularity11

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity46

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

108d ago

### Community

Maintainers

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

[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)[mradder/filament-logger

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

141.1k](/packages/mradder-filament-logger)[a909m/filament-statefusion

Filament StateFusion is a powerful FilamentPHP plugin that seamlessly integrates Spatie Laravel Model States into the Filament admin panel. This package provides an intuitive way to manage model states, transitions, and filtering within Filament, enhancing the user experience and developer productivity.

3010.8k1](/packages/a909m-filament-statefusion)[inerba/filament-db-config

A Filament plugin for database-backed application settings and editable content, with caching and easy page generation.

329.1k](/packages/inerba-filament-db-config)[resma/filament-awin-theme

A modern, responsive, and customizable theme for FilamentPHP, designed to elevate your admin panel with a sleek interface and seamless user experience.

1714.6k](/packages/resma-filament-awin-theme)[caresome/filament-neobrutalism-theme

A neobrutalism theme for FilamentPHP admin panels

303.2k](/packages/caresome-filament-neobrutalism-theme)

PHPackages © 2026

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