Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Modal Relation Managers Laravel Package

guava/filament-modal-relation-managers

View on GitHub
Deep Wiki
Context7

filament-modal-relation-managers Banner

Relation managers in modals for your filament panels

Latest Version on Packagist Total Downloads

This plugin allows you to embed any of your relation managers inside modals using a provided filament action. Instead of opening a record's edit page to work with its relations, you open them right where you are: from a table row, a schema entry or a page header action.

Documentation

The full documentation is available at guava.cz.

Version compatibility

Filament version Plugin version
3.x 1.x
4.x 2.x
5.x 3.x

For older filament versions, please check the branch of the respective version.

Showcase

Screenshot 1

Installation

You can install the package via composer:

composer require guava/filament-modal-relation-managers

Finally, make sure you have a custom filament theme (read here how to create one) and add the following to your theme.css file so the CSS is properly built:

@source '../../../../vendor/guava/filament-modal-relation-managers/resources/**/*';

Usage

Use the RelationManagerAction anywhere you like to open a relation manager in a modal:

use Guava\FilamentModalRelationManagers\Actions\RelationManagerAction;

return $table
    ->recordActions([
        RelationManagerAction::make('lesson-relation-manager')
            ->label('View lessons')
            ->relationManager(LessonRelationManager::class),
    ]);

Everything else, including schema and page actions and the compact style, is covered in the documentation.

Testing

composer test

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle