PHPackages                             asmit/filament-upload - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. asmit/filament-upload

ActiveLibrary

asmit/filament-upload
=====================

Filament PDF file upload and preview.

v2.0.0(4mo ago)4240.9k↑17.4%7[1 issues](https://github.com/AsmitNepali/filament-upload/issues)MITJavaScript

Since May 10Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/AsmitNepali/filament-upload)[ Packagist](https://packagist.org/packages/asmit/filament-upload)[ RSS](/packages/asmit-filament-upload/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (8)Used By (0)

Advanced Upload
===============

[](#advanced-upload)

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.

[![Filament Upload Plugin](https://raw.githubusercontent.com/AsmitNepali/filament-upload/refs/heads/main/images/cover.jpg)](https://raw.githubusercontent.com/AsmitNepali/filament-upload/refs/heads/main/images/cover.jpg)

Features
--------

[](#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
------------

[](#installation)

You can install the package via composer:

```
composer require asmit/filament-upload
```

Publishing Assets
-----------------

[](#publishing-assets)

```
php artisan filament:assets
```

Usage
-----

[](#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
---------------------

[](#configuration-options)

MethodDescriptionDefault`pdfPreviewHeight()`Set the height of PDF preview320px`pdfDisplayPage()`Set the default page to display1`pdfToolbar()`Enable/disable toolbar controlsfalse`pdfZoomLevel()`Set the zoom level percentage100`pdfFitType()`Set the PDF fit typeFIT`pdfNavPanes()`Enable/disable navigation panesfalseCredits
-------

[](#credits)

- [Kishan Sunar](https://github.com/Kishan-Sunar)
- [Asmit Nepal](https://github.com/AsmitNepali)

### Security

[](#security)

If you discover a security vulnerability within this package, please send an e-mail to . All security vulnerabilities will be promptly addressed.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### 📄 License

[](#-license)

The MIT License (MIT). Please see [License File](LICENSE.txt) for more information.

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance77

Regular maintenance activity

Popularity43

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~62 days

Total

5

Last Release

122d ago

Major Versions

v1.1.0 → v2.0.02026-01-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/a319ef51eb11470bafa38ab183e1af21162a5d0ed09e48b0595482923816e782?d=identicon)[AsmitNepali](/maintainers/AsmitNepali)

![](https://www.gravatar.com/avatar/0839f88edc4763fccb1cf11fb7892e062ec454b06686baf7e08f7abdf0ecd264?d=identicon)[Kishan-Sunar](/maintainers/Kishan-Sunar)

---

Top Contributors

[![AsmitNepali](https://avatars.githubusercontent.com/u/33512152?v=4)](https://github.com/AsmitNepali "AsmitNepali (21 commits)")[![kishansunar00](https://avatars.githubusercontent.com/u/53288433?v=4)](https://github.com/kishansunar00 "kishansunar00 (1 commits)")[![shreejanpandit](https://avatars.githubusercontent.com/u/53370534?v=4)](https://github.com/shreejanpandit "shreejanpandit (1 commits)")[![UendelC](https://avatars.githubusercontent.com/u/21681869?v=4)](https://github.com/UendelC "UendelC (1 commits)")

---

Tags

filamentphplaravelplugin

### Embed Badge

![Health badge](/badges/asmit-filament-upload/health.svg)

```
[![Health](https://phpackages.com/badges/asmit-filament-upload/health.svg)](https://phpackages.com/packages/asmit-filament-upload)
```

###  Alternatives

[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[filament/forms

Easily add beautiful forms to any Livewire component.

4624.0M300](/packages/filament-forms)[filament/filament

A collection of full-stack components for accelerated Laravel app development.

3722.7M2.4k](/packages/filament-filament)[filament/tables

Easily add beautiful tables to any Livewire component.

3623.6M100](/packages/filament-tables)[filament/notifications

Easily add beautiful notifications to any Livewire app.

2423.8M62](/packages/filament-notifications)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
