PHPackages                             webkernel/component-modules-essentials - 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. webkernel/component-modules-essentials

ActiveWebkernel-component[Utility &amp; Helpers](/categories/utility)

webkernel/component-modules-essentials
======================================

Essential core components and base classes for Webkernel modules, featuring plugins, panel providers, pages, widgets, and resources toolkit.

00PHP

Since Jun 22Pushed yesterdayCompare

[ Source](https://github.com/webkernelphp/component-modules-essentials)[ Packagist](https://packagist.org/packages/webkernel/component-modules-essentials)[ RSS](/packages/webkernel-component-modules-essentials/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Webkernel Plugin Component
==========================

[](#webkernel-plugin-component)

A collection of essential traits that streamline Filament plugin development by taking care of the boilerplate, so you can focus on shipping real features faster

Table of Contents
-----------------

[](#table-of-contents)

- [Filament Plugin Essentials](#filament-plugin-essentials)
    - [Table of Contents](#table-of-contents)
    - [Features](#features)
    - [Requirements](#requirements)
    - [Installation](#installation)
    - [For Plugin Developers](#for-plugin-developers)
        - [1. Add traits to your plugin class](#1-add-traits-to-your-plugin-class)
        - [2. Add matching traits to your forResource classes](#2-add-matching-traits-to-your-forresource-classes)
        - [3. Set defaults for your plugin (optional)](#3-set-defaults-for-your-plugin-optional)
    - [How Plugin Users Can Configure Your Plugin](#how-plugin-users-can-configure-your-plugin)
        - [Multi-forResource configuration](#multi-forresource-configuration)
        - [Dynamic values with closures](#dynamic-values-with-closures)
    - [Plugin &amp; Resource Trait Mapping](#plugin--resource-trait-mapping)
    - [Configuration Options Provided by Each Trait](#configuration-options-provided-by-each-trait)
        - [`HasNavigation`](#hasnavigation)
        - [`HasLabels`](#haslabels)
        - [`HasGlobalSearch`](#hasglobalsearch)
        - [`BelongsToParent`](#belongstoparent)
        - [`BelongsToTenant`](#belongstotenant)
        - [`WithMultipleResourceSupport`](#withmultipleresourcesupport)
    - [Todo](#todo)
    - [Testing](#testing)
    - [Changelog](#changelog)
    - [Contributing](#contributing)
    - [Security Vulnerabilities](#security-vulnerabilities)
    - [Credits](#credits)
    - [License](#license)

Features
--------

[](#features)

- **Easily Configure**
    - \*\* Navigation\*\* - Complete control over resource navigation (labels, icons, groups, sorting, badges)
    - **️ Label** - Model labels, plural forms, title attributes, and casing options
    - \*\* Global Search\*\* - Searchability controls, result limits, and case sensitivity options
    - \*\* Resource Tenant options\*\* - Tenant scoping and relationship configuration
    - \*\* Parent Resource\*\* - Hierarchical resource relationships
- **️ Multi-Resource Configuration** - Different settings per `Resource` in a single plugin
- \*\* 3-Tier Default System\*\* - User overrides → Plugin defaults → Filament defaults
- \*\* Dynamic Values\*\* - Closure support for conditional logic and real-time data
- \*\* Developer-Friendly\*\* - Minimal boilerplate with maximum customization

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

[](#requirements)

- Filament [4.x](https://filamentphp.com/docs/4.x/introduction/installation) &amp; [5.x](https://filamentphp.com/docs/5.x/introduction/installation)
- PHP 8.2+

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

[](#installation)

```
composer require bezhansalleh/filament-plugin-essentials
```

For Plugin Developers
---------------------

[](#for-plugin-developers)

### 1. Add traits to your plugin class

[](#1-add-traits-to-your-plugin-class)

```
