stafe-group-ab/filament-sticky-panel

This plugin gives you a right hand side panel in Filament to use for any Livewire component.

v1.0.0 2022-12-19 11:46 UTC

This package is auto-updated.

Last update: 2024-10-16 11:56:04 UTC


README

Latest Version on Packagist Total Downloads

Screen shot of Filament Sticky Panel on Dashboard

Screen shot of Filament Sticky Panel on Edit Pages

This Filament Plugin will give you a right sidepanel in your Filament Admin in which you can render any Livewire component that you create. You can configure in the config file which component to render on which page in your Filament Admin.

Installation

You can install the package via composer:

composer require stafe-group-ab/filament-sticky-panel

You can publish the config file with:

php artisan vendor:publish --tag="filament-sticky-panel-config"

This is the contents of the published config file. Use the basenames or page_urls here.

return [
    'pages' => [
        'admin' => [
            'page_url' => 'admin',
            'component' => '', //'demo-component',
        ],
        'edit' => [
            'page_url' => 'edit',
            'component' => '', //'edit-helper-component',
        ],
    ],
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-sticky-panel-views"

Usage

Just install the plugin and add some pages in the config file. It will split up your page in two parts. If you want to edit the grid settings, just public the views and do so.

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.