1. Go to this page and download the library: Download lyre/file 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/ */
lyre / file example snippets
use Lyre\File\Concerns\HasFile;
use HasFile;
use Lyre\File\Filament\Plugins\LyreFileFilamentPlugin;
$panel->plugins([
new LyreFileFilamentPlugin(),
]);
use Lyre\File\Filament\Forms\Components\SelectFromGallery;
SelectFromGallery::make('files')->label('Featured Images')->multiple()