PHPackages                             ibrostudio/filament-plugin-tools - 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. ibrostudio/filament-plugin-tools

ActiveLibrary

ibrostudio/filament-plugin-tools
================================

This is my package filament-plugin-tools

v1.0.1(3y ago)182[3 PRs](https://github.com/iBroStudio/filament-plugin-tools/pulls)1MITPHPPHP ^8.1

Since Jun 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/iBroStudio/filament-plugin-tools)[ Packagist](https://packagist.org/packages/ibrostudio/filament-plugin-tools)[ Docs](https://github.com/ibrostudio/filament-plugin-tools)[ RSS](/packages/ibrostudio-filament-plugin-tools/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (15)Versions (6)Used By (1)

Filament Plugin Tools
=====================

[](#filament-plugin-tools)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7f7b2abc9605f91819e009bdf4ec6638ea87204afe74fb8b5dde5269baf24a4f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6962726f73747564696f2f66696c616d656e742d706c7567696e2d746f6f6c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ibrostudio/filament-plugin-tools)[![GitHub Tests Action Status](https://camo.githubusercontent.com/75f660e8735d73a27369c27dfe4410fd8c6bffca20d661930c44523d5a604c7c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6962726f73747564696f2f66696c616d656e742d706c7567696e2d746f6f6c732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/ibrostudio/filament-plugin-tools/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/97203b88777a87fbae9eec1553ffa6cfd07f30c92d87ab9af3c7271282fd39d2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6962726f73747564696f2f66696c616d656e742d706c7567696e2d746f6f6c732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/ibrostudio/filament-plugin-tools/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)

This package is for [Filament](https://filamentphp.com/) plugin development.

It simply converts the native Filament commands to a plugin context to generate resources, pages and widgets.

Note
----

[](#note)

To get started easily, we released a Filament version of the Spatie's **package-skeleton-laravel**, including this tools and others goodies. Check it out here : [filament-plugin-skeleton](https://github.com/iBroStudio/filament-plugin-skeleton)

Requirements
------------

[](#requirements)

Let's say you are developing a plugin called PluginName. Files are located in a dedicated directory, called packages. You have locally imported the plugin in a Laravel app for development:

In *composer.json*:

```
{
    "repositories": [
        {
            "type": "path",
            "url": "../../packages/plugin-name"
        }
    ]
}
```

Then:

```
composer require vendor-name/plugin-name
```

##### Auto-registering

[](#auto-registering)

This package can auto-register resources, pages and widgets in your plugin service provider.

For that, ensure that:

1. You added your service provider's fully qualified class name to the *extra.laravel.providers* array in your plugin's *composer.json* file:

```
{
    "extra": {
        "laravel": {
            "providers": [
                "VendorName\\PluginName\\PluginNameServiceProvider"
            ]
        }
    }
}
```

2. Add the properties `$pages`, `$resources` and `$widgets` in the plugin's service provider file:

```
use Filament\PluginServiceProvider;
use Spatie\LaravelPackageTools\Package;

class PluginNameServiceProvider extends PluginServiceProvider
{
    protected array $pages = [
    ];

    protected array $resources = [
    ];

    protected array $widgets = [
    ];

    public function configurePackage(Package $package): void
    {
        $package->name('plugin-name');
    }
}
```

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

[](#installation)

Install the filament-plugin-tools package in your Laravel app via composer:

```
composer require ibrostudio/filament-plugin-tools --dev
```

Usage
-----

[](#usage)

##### Resources

[](#resources)

```
php artisan make:filament-plugin-resource plugin-name Model
```

The options work as with the original commands:

```
php artisan make:filament-plugin-resource plugin-name Model --simple
php artisan make:filament-plugin-resource plugin-name Model --generate
php artisan make:filament-plugin-resource plugin-name Model --view-page
etc...
```

##### Relation managers

[](#relation-managers)

All relations managers are availables:

```
php artisan make:filament-plugin-has-many ModelResource relationship attribute
php artisan make:filament-plugin-has-many-through ModelResource relationship attribute
php artisan make:filament-plugin-belongs-to-many ModelResource relationship attribute
php artisan make:filament-plugin-morph-many ModelResource relationship attribute
php artisan make:filament-plugin-morph-to-many ModelResource relationship attribute
```

##### Pages

[](#pages)

```
php artisan make:filament-plugin-page plugin-name PageName
```

Options work too:

```
php artisan make:filament-plugin-page plugin-name Model --resource=ModelResource --type=custom
```

##### Widgets

[](#widgets)

```
php artisan make:filament-plugin-widget plugin-name WidgetName
```

With resource option:

```
php artisan make:filament-plugin-widget plugin-name Model --resource=ModelResource
```

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [iBroStudio](https://github.com/iBroStudio)
- [The Filament team](https://filamentphp.com/), thanks to them for their work

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~0 days

Total

2

Last Release

1442d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a456dae716df4be38cb7d5f02ca522a02ec37eda586ab0cae0f504516b7c1ef?d=identicon)[iBroStudio](/maintainers/iBroStudio)

---

Top Contributors

[![Yann-iBroStudio](https://avatars.githubusercontent.com/u/2676572?v=4)](https://github.com/Yann-iBroStudio "Yann-iBroStudio (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

---

Tags

laravelfilamentiBroStudio

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/ibrostudio-filament-plugin-tools/health.svg)

```
[![Health](https://phpackages.com/badges/ibrostudio-filament-plugin-tools/health.svg)](https://phpackages.com/packages/ibrostudio-filament-plugin-tools)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

254255.2k6](/packages/croustibat-filament-jobs-monitor)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17554.3k2](/packages/stephenjude-filament-jetstream)[creagia/filament-code-field

A Filamentphp input field to edit or view code data.

58289.3k3](/packages/creagia-filament-code-field)

PHPackages © 2026

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