### Install Filament Draggable Modal using Composer Source: https://github.com/sanzgrapher/filament-draggable-modal/blob/main/README.md This command installs the sanzgrapher/filament-draggable-modal package using Composer, making it available for your PHP project. ```bash composer require sanzgrapher/filament-draggable-modal ``` -------------------------------- ### Publish Filament Assets Source: https://github.com/sanzgrapher/filament-draggable-modal/blob/main/README.md This Artisan command is used to publish Filament's assets. It is a troubleshooting step that may be required if modals are not draggable after installation. ```bash php artisan filament:assets ``` -------------------------------- ### Instantiate DraggableModalPlugin Source: https://context7.com/sanzgrapher/filament-draggable-modal/llms.txt Create a new instance of the DraggableModalPlugin using its static factory method 'make()'. This plugin automatically handles the registration of necessary JavaScript and CSS, designates modal headers as drag handles, and preserves the clickability of interactive elements within headers. ```php getId(); // Returns: 'draggable-modal' ``` -------------------------------- ### Register DraggableModalPlugin in AdminPanelProvider Source: https://github.com/sanzgrapher/filament-draggable-modal/blob/main/README.md This PHP code snippet demonstrates how to register the DraggableModalPlugin within your Filament Panel Provider, typically located in `AdminPanelProvider.php`. This enables the draggable functionality for all modals in your Filament application. ```php use Sanzgrapher\DraggableModal\DraggableModalPlugin; public function panel(Panel $panel): Panel { return $panel // ... other configuration ->plugin(DraggableModalPlugin::make()); } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.