### Install Filament Advanced Upload Plugin Source: https://github.com/asmitnepali/filament-upload/blob/main/README.md Install the Filament Advanced Upload plugin using Composer. ```bash composer require asmit/filament-upload ``` -------------------------------- ### Publish Filament Assets Source: https://github.com/asmitnepali/filament-upload/blob/main/README.md Publish Filament assets after installing the plugin to ensure all necessary files are available. ```bash php artisan filament:assets ``` -------------------------------- ### AdvancedFileUpload Component Configuration Methods Source: https://github.com/asmitnepali/filament-upload/blob/main/README.md API documentation for the configuration methods available on the AdvancedFileUpload component, detailing their purpose and default values. ```APIDOC AdvancedFileUpload Component Configuration Methods: pdfPreviewHeight(): Description: Set the height of PDF preview Default: 320px pdfDisplayPage(): Description: Set the default page to display Default: 1 pdfToolbar(): Description: Enable/disable toolbar controls Default: false pdfZoomLevel(): Description: Set the zoom level percentage Default: 100 pdfFitType(): Description: Set the PDF fit type Default: FIT pdfNavPanes(): Description: Enable/disable navigation panes Default: false ``` -------------------------------- ### Integrate AdvancedFileUpload Component in Filament Form Source: https://github.com/asmitnepali/filament-upload/blob/main/README.md Demonstrates how to integrate the AdvancedFileUpload component into a Filament form, configuring various PDF preview options like height, default page, toolbar, zoom, fit type, and navigation panes. ```php use Asmit\FilamentUpload\Forms\Components\AdvancedFileUpload; public static function form(Form $form): Form { return $form ->schema([ AdvancedFileUpload::make('file') ->label('Upload PDF') ->pdfPreviewHeight(400) // Customize preview height ->pdfDisplayPage(1) // Set default page ->pdfToolbar(true) // Enable toolbar ->pdfZoomLevel(100) // Set zoom level ->pdfFitType(PdfViewFit::FIT) // Set fit type ->pdfNavPanes(true) // Enable navigation panes ]); } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.