PHP code example of archilex / filament-stacked-image-column

1. Go to this page and download the library: Download archilex/filament-stacked-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/ */

    

archilex / filament-stacked-image-column example snippets


use Archilex\StackedImageColumn\Columns\StackedImageColumn;

return $table
    ->columns([
        StackedImageColumn::make('orderItems.image'),
    ]);

StackedImageColumn::make('product_images')
    ->separator(',')

StackedImageColumn::make('images')
    ->circular()
    ->width(20)

StackedImageColumn::make('orderItems.image')
    ->circular()
    ->limit(3)

StackedImageColumn::make('orderItems.image')
    ->circular()
    ->limit(3)
    ->showRemaining()

StackedImageColumn::make('users.avatar')
    ->circular()
    ->ring(3)

StackedImageColumn::make('users.avatar')
    ->circular()
    ->overlap(3)
bash
php artisan vendor:publish --tag="filament-stacked-image-column-views"