Upload
CommunityThe Advanced PDF Upload plugin allows you to upload PDF files with preview functionality along with Filament's default file upload features. This package provides a seamless way to handle PDF uploads with customizable preview options.
Author:
Asmit Nepali
Package health
BetaAutomated checks of this plugin's Composer package
13 checks
-
Passed:
Current Laravel version supported
—
Package dependencies resolve together with current Laravel
13.0. - Passed: Current PHP version supported — No PHP constraint declared; package imposes no version restriction.
- Skipped: Current Symfony version supported
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Passed: Commit and release recency — Active: last commit 0 days ago; last release 0 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
- Skipped: GitHub Actions pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Failed: Dependabot or Renovate configured — No dependency updater configuration found. View details on Plumb
- Skipped: Dependency update cooldown configured
- Failed: Provides a security policy — View details on Plumb
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
The Advanced Upload plugin allows you to upload PDF files with preview functionality along with Filament's default file upload features. This package provides a seamless way to handle PDF uploads with customizable preview options.

#Features
- PDF file upload with live preview
- Customizable preview height
- Configurable page display
- Optional toolbar controls
- Adjustable zoom levels
- Multiple fit types for PDF display
- Optional navigation panes
- Seamless integration with Filament forms
#Installation
You can install the package via composer:
composer require asmit/filament-upload
#Publishing Assets
php artisan filament:assets
#Usage
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
]);
}
#Configuration Options
| Method | Description | Default |
|---|---|---|
pdfPreviewHeight() |
Set the height of PDF preview | 320px |
pdfDisplayPage() |
Set the default page to display | 1 |
pdfToolbar() |
Enable/disable toolbar controls | false |
pdfZoomLevel() |
Set the zoom level percentage | 100 |
pdfFitType() |
Set the PDF fit type | FIT |
pdfNavPanes() |
Enable/disable navigation panes | false |
#Credits
#Security
If you discover a security vulnerability within this package, please send an e-mail to asmitnepali99@gmail.com. All security vulnerabilities will be promptly addressed.
#Contributing
Please see CONTRIBUTING for details.
#📄 License
The MIT License (MIT). Please see License File for more information.
The author
From the same author
Resized Column
This plugin allows you to resize columns in Filament tables, enhancing the user experience by providing a more flexible and customizable interface.
Author:
Asmit Nepali
Advanced Kanban
A premium Filament plugin providing production-ready, highly customizable Kanban boards with drag & drop functionality, workflow transitions, advanced filtering, and real-time search capabilities.
Author:
Asmit Nepali
Mention
The Mention plugin lets you mention users inside RichText editor, supporting both static and dynamic searches. It can extract user details like username and ID for a seamless mention experience.
Author:
Asmit Nepali
Featured Plugins
A selection of plugins curated by the Filament team
Blueprint
Filament Blueprint is a premium Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans and security reports for Filament apps.
Filament
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle
Spotlight Pro
Browse your Filament Panel with ease. Filament Spotlight Pro adds a Spotlight/Raycast like Command Palette to your Filament Panel.
Dennis Koch