PHP code example of elmudo-dev / filament-custom-attribute-file-upload

1. Go to this page and download the library: Download elmudo-dev/filament-custom-attribute-file-upload 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/ */

    

elmudo-dev / filament-custom-attribute-file-upload example snippets


CustomAttributeSpatieMediaLibraryFileUpload::make('gallery')
    ->collection('gallery')
    ->conversion('thumb')
    ->downloadable()
    ->panelLayout('grid')
    ->multiple()
    ->reorderable(),

CustomAttributeFileUpload::make('gallery')                 
    ->downloadable()
    ->panelLayout('grid')
    ->multiple()
    ->reorderable(),
bash
php artisan vendor:publish --tag="filament-custom-attribute-file-upload-views"