artmin96 / filament-popover
This is my package filament-popover
Fund package maintenance!
ArtMin96
Requires
- php: ^8.0
- filament/filament: ^2.0
- illuminate/contracts: ^9.0|^10.0
- spatie/laravel-package-tools: ^1.13.5
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^6.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- pestphp/pest-plugin-livewire: ^1.0
- pestphp/pest-plugin-parallel: ^0.3
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2025-02-09 07:34:57 UTC
README
Installation
You can install the package via composer:
composer require artmin96/filament-popover
You can publish the config file with:
php artisan vendor:publish --tag="filament-popover-config"
This is the contents of the published config file:
return [ 'themes' => [ 'light', 'light-border', 'material', 'translucent', ], 'animations' => [ 'shift-away', 'shift-toward', 'scale', 'perspective', ], ];
Usage
<x-filament-popover::preview :model="$model" :view="'your-view-blade'" :viewData="[]" :allowHTML="true" :arrow="false" :theme="'light'" :interactive="true" :placement="'bottom'" :animation="'shift-away'" > Show tooltip! </x-filament-popover::preview>
You can send additional data to view via viewData
.
Find other properties here: https://atomiks.github.io/tippyjs/v6/all-props/
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.