njxqlus/filament-relation-manager-component

Use Filament Relation Manager Everywhere!
119,729 47
Install
composer require njxqlus/filament-relation-manager-component
Latest Version:1.1.3
PHP:^8.3
License:MIT
Last Updated:Jun 24, 2026
Links: GitHub  ·  Packagist
Maintainer: njxqlus

Use Filament Relation Manager Everywhere!

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Use Filament Relation Manager Everywhere!

Installation

You can install the package via composer:

composer require njxqlus/filament-relation-manager-component

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-relation-manager-component-views"

Usage

Example below shows how to use different relation managers in tabs without lazy load.

public static function form(Schema $schema): Schema
{
    return $schema
        ->schema([
            Schemas\Components\Tabs::make()->tabs([
                Schemas\Components\Tabs\Tab::make('Versions')->schema([
                    \Njxqlus\Filament\Components\Forms\RelationManager::make()->manager(RelationManagers\VersionsRelationManager::class)->lazy(false)
                ]),
                Schemas\Components\Tabs\Tab::make('Stands')->schema([
                    \Njxqlus\Filament\Components\Forms\RelationManager::make()->manager(RelationManagers\StandsRelationManager::class)->lazy(false)
                ]),
                Schemas\Components\Tabs\Tab::make('Contexts')->schema([
                    \Njxqlus\Filament\Components\Forms\RelationManager::make()->manager(RelationManagers\ContextsRelationManager::class)->lazy(false)
                ]),
            ])
        ]);
}

public static function infolist(Schema $schema): Schema
{
    return $schema->schema([
        Schemas\Components\Tabs::make()->tabs([
            Schemas\Components\Tabs\Tab::make('Versions')->schema([
                \Njxqlus\Filament\Components\Infolists\RelationManager::make()->manager(RelationManagers\VersionsRelationManager::class)->lazy(false)
            ]),
            Schemas\Components\Tabs\Tab::make('Stands')->schema([
                \Njxqlus\Filament\Components\Infolists\RelationManager::make()->manager(RelationManagers\StandsRelationManager::class)->lazy(false)
            ]),
            Schemas\Infolists\Components\Tabs\Tab::make('Contexts')->schema([
                \Njxqlus\Filament\Components\Infolists\RelationManager::make()->manager(RelationManagers\ContextsRelationManager::class)->lazy(false)
            ]),
        ])
    ]);
}

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

njxqlus/filament-progressbar

This Filament component shows a progress bar at the top of the page when we navi...

104,059 26
pxlrbt/filament-excel

Supercharged Excel exports for Filament Resources

2,723,625 457
ozankurt/modules-blog

Ready to use blog module for laravel.

84 8