PHP code example of stemizer / filament_tinyfinder

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

    

stemizer / filament_tinyfinder example snippets


use Stemizer\FilamentTinyFinder\FilamentTinyFinderPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            FilamentTinyFinderPlugin::make()
                ->navigationGroup('Media')
                ->navigationSort(10),
        ]);
}

use Stemizer\FilamentTinyFinder\Forms\Components\TinyFinderFileInput;
use Stemizer\FilamentTinyFinder\Forms\Components\TinyFinderImageInput;

TinyFinderImageInput::make('image')
    ->label('Product Image');

TinyFinderFileInput::make('attachment')
    ->label('Product Attachment');

Stemizer\FilamentTinyFinder\Examples\ExampleResource
bash
composer  vendor:publish --tag="filament-tinyfinder-config"
php artisan migrate
php artisan storage:link
php artisan filament:assets