PHPackages                             jeffersongoncalves/filament-plugin-core - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jeffersongoncalves/filament-plugin-core

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jeffersongoncalves/filament-plugin-core
=======================================

Shared base classes and helpers for jeffersongoncalves Filament plugins (Plugin skeleton, PackageServiceProvider helpers, render-hook registration).

3.0.1(1mo ago)12.6k5MITPHPPHP ^8.2CI passing

Since Jun 23Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/jeffersongoncalves/filament-plugin-core)[ Packagist](https://packagist.org/packages/jeffersongoncalves/filament-plugin-core)[ Docs](https://github.com/jeffersongoncalves/filament-plugin-core)[ GitHub Sponsors](https://github.com/jeffersongoncalves)[ RSS](/packages/jeffersongoncalves-filament-plugin-core/feed)WikiDiscussions 3.x Synced 2w ago

READMEChangelog (6)Dependencies (13)Versions (9)Used By (5)

[![Filament Plugin Core](https://raw.githubusercontent.com/jeffersongoncalves/filament-plugin-core/3.x/art/jeffersongoncalves-filament-plugin-core.png)](https://raw.githubusercontent.com/jeffersongoncalves/filament-plugin-core/3.x/art/jeffersongoncalves-filament-plugin-core.png)

Filament Plugin Core
====================

[](#filament-plugin-core)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ef6f8e2ea9d80868e7d83a8e5fcf86b02a6cd33d6b241c54efa1e873fc1be87b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d706c7567696e2d636f72652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeffersongoncalves/filament-plugin-core)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/8288780c7b95908f813c9563c176e700f64dcc39bceb554ee84293e941c8b847/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d706c7567696e2d636f72652f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d332e78266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/jeffersongoncalves/filament-plugin-core/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3A3.x)[![Total Downloads](https://camo.githubusercontent.com/f329cb4ad1c1087bef08eef7c2b2b7d9ff2ce957efe0de6490a440740744a2f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d706c7567696e2d636f72652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeffersongoncalves/filament-plugin-core)[![License](https://camo.githubusercontent.com/27cc2f2777002d77575a42bd7d39f8230c23d69a202b2831ce5d92dd69e97eb1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d706c7567696e2d636f72652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

Shared base classes for the [jeffersongoncalves](https://github.com/jeffersongoncalves) family of Filament plugins. It removes the skeleton boilerplate every plugin used to copy-paste: the `Plugin` contract implementation, the Spatie `PackageServiceProvider` wiring, and Filament render-hook registration.

Version Compatibility
---------------------

[](#version-compatibility)

BranchFilamentPHPLaravel1.x3.x^8.2^11.02.x4.x^8.2^11.03.x5.x^8.2^11.0Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- Laravel 11.0 or higher
- Filament 5.x (3.x branch)

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

[](#installation)

You can install the package via composer:

```
composer require jeffersongoncalves/filament-plugin-core:"^3.0"
```

What it provides
----------------

[](#what-it-provides)

- **`BasePlugin`** — implements `Filament\Contracts\Plugin` with the canonical `make()`/`get()` factory pair and no-op `register()`/`boot()`. Subclasses only declare `getId()`.
- **`Concerns\InteractsWithPlugin`** — the `make()`/`get()` pair as a standalone trait, for plugins that cannot extend `BasePlugin`.
- **`BasePackageServiceProvider`** — extends Spatie's `PackageServiceProvider` and adds `registerRenderHooks([$hook => $view])` to collapse render-hook closures.

Usage
-----

[](#usage)

### Plugin

[](#plugin)

```
use JeffersonGoncalves\FilamentPluginCore\BasePlugin;

class MyPlugin extends BasePlugin
{
    public function getId(): string
    {
        return 'my-plugin';
    }
}
```

### Service Provider

[](#service-provider)

```
use Filament\View\PanelsRenderHook;
use JeffersonGoncalves\FilamentPluginCore\BasePackageServiceProvider;
use Spatie\LaravelPackageTools\Package;

class MyServiceProvider extends BasePackageServiceProvider
{
    public function configurePackage(Package $package): void
    {
        $package->name('my-plugin')->hasTranslations();
    }

    public function packageRegistered(): void
    {
        $this->registerRenderHooks([
            PanelsRenderHook::HEAD_START => 'my-plugin::script',
        ]);
    }
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Jefferson Gonçalves](https://github.com/jeffersongoncalves)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance90

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~0 days

Total

9

Last Release

45d ago

Major Versions

1.0.0 → 2.0.02026-06-23

2.0.0 → 3.0.02026-06-23

1.0.1 → 3.x-dev2026-06-23

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/411493?v=4)[Jefferson Gonçalves](/maintainers/jeffersongoncalves)[@jeffersongoncalves](https://github.com/jeffersongoncalves)

---

Top Contributors

[![jeffersongoncalves](https://avatars.githubusercontent.com/u/411493?v=4)](https://github.com/jeffersongoncalves "jeffersongoncalves (9 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

base-classesfilamentfilament-pluginlaravellaravel-packagephpplugin-corelaravelfilamentfilament-pluginjeffersongoncalvesplugin-core

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/jeffersongoncalves-filament-plugin-core/health.svg)

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

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.8k](/packages/rawilk-profile-filament-plugin)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329575.9k33](/packages/codewithdennis-filament-select-tree)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

277333.4k9](/packages/croustibat-filament-jobs-monitor)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17861.9k3](/packages/stephenjude-filament-jetstream)[tapp/filament-form-builder

User facing form builder using Filament components

133.5k5](/packages/tapp-filament-form-builder)[stephenjude/filament-debugger

About

104173.6k2](/packages/stephenjude-filament-debugger)

PHPackages © 2026

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