PHP code example of tinusg / filament-hover-image-column
1. Go to this page and download the library: Download tinusg/filament-hover-image-column library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tinusg / filament-hover-image-column example snippets
use TinusG\FilamentHoverImageColumn\HoverImageColumn;
HoverImageColumn::make('avatar')
->circular()
HoverImageColumn::make('photo')
->previewSize(400) // both width and height
HoverImageColumn::make('photo')
->previewSize(width: 500, height: 300) // separate dimensions