PHPackages                             amjadiqbal/filament-url-image-uploader - 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. [Image &amp; Media](/categories/media)
4. /
5. amjadiqbal/filament-url-image-uploader

ActiveLibrary[Image &amp; Media](/categories/media)

amjadiqbal/filament-url-image-uploader
======================================

A powerful Filament PHP form component that enables seamless image uploads from URLs. Features include image validation, preview functionality, and easy integration with Laravel storage. Perfect for remote image imports, content management, and e-commerce applications built with FilamentPHP.

v1.1.0(3w ago)163592MITPHPPHP ^8.1

Since Apr 27Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/AmjadIqbal/filament-url-image-uploader)[ Packagist](https://packagist.org/packages/amjadiqbal/filament-url-image-uploader)[ Docs](https://github.com/amjadiqbal/filament-url-image-uploader)[ GitHub Sponsors](https://github.com/sponsors/amjadiqbal/)[ RSS](/packages/amjadiqbal-filament-url-image-uploader/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (13)Versions (3)Used By (0)

Filament URL Image Uploader
===========================

[](#filament-url-image-uploader)

A powerful Filament PHP form component that enables seamless image uploads from URLs. Features include image validation, preview functionality, and easy integration with Laravel storage. Perfect for remote image imports, content management, and e-commerce applications built with FilamentPHP.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require amjadiqbal/filament-url-image-uploader
```

Usage
-----

[](#usage)

```
use AmjadIqbal\FilamentUrlImageUploader\Components\UrlImageUploader;

UrlImageUploader::make('image')->directory('images');
```

The field renders two tabs — upload a file directly, or paste an image URL and fetch it server-side. Either way, the value saved to your model attribute is always a plain storage path string (e.g. `"images/example.jpg"`), never an array — no accessor/mutator gymnastics required on your model:

```
// database column: image (string, nullable)

class Post extends Model
{
    protected $fillable = ['image'];
}
```

To render the stored image elsewhere in your app, resolve it through the disk you configured:

```
Storage::disk('public')->url($post->image);
```

Configuration
-------------

[](#configuration)

### Directory

[](#directory)

You can customize the storage directory:

```
UrlImageUploader::make('image')->directory('custom/path/here');
```

### Disk

[](#disk)

By default, files are stored on the `public` disk. You can target any configured disk:

```
UrlImageUploader::make('image')->disk('s3');
```

### Preserve original filenames

[](#preserve-original-filenames)

```
UrlImageUploader::make('image')->preserveFilenames();
```

### URL fetch size limit

[](#url-fetch-size-limit)

The "URL Upload" tab downloads the remote image server-side before validating its content type. By default, downloads larger than 10 MB are rejected; adjust it with:

```
UrlImageUploader::make('image')->maxUrlFetchSize(5 * 1024 * 1024); // 5 MB
```

Scope
-----

[](#scope)

`UrlImageUploader` manages a single image per field. It does not currently support Filament's `multiple()` mode — for a gallery of several images, use one `UrlImageUploader` per image, or a `Repeater` of them.

Testing
-------

[](#testing)

```
composer test      # PHPUnit, via Orchestra Testbench
composer analyse    # Larastan/PHPStan (level 5)
composer format     # Laravel Pint
```

Support
-------

[](#support)

### Documentation

[](#documentation)

- [Full Documentation](https://devodocs.com/laravel/filament-url-image-uploader)
- API Reference
- Examples &amp; Tutorials

### Community

[](#community)

- Join our [Discord Community](https://discord.com/channels/1352854772859932702/1352854916690874388) for discussions
- Report issues on [GitHub](https://github.com/amjadiqbal/filament-url-image-uploader/issues)

### Professional Support

[](#professional-support)

Need expert help? [Hire me on Upwork](https://www.upwork.com/freelancers/amjadkhatri) for:

- Custom implementations
- Feature development
- Technical consulting
- Priority support

Changelog
---------

[](#changelog)

Please see [CHANGELOG.md](https://github.com/AmjadIqbal/filament-url-image-uploader/blob/main/CHANGELOG.md) for more information on what has changed recently.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability, please report it in our [Security Room](https://discord.com/channels/1352854772859932702/1352854916690874388) on Discord. All security vulnerabilities will be promptly addressed.

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

[](#contributing)

We welcome contributions!

### Contributors

[](#contributors)

[ ![](https://camo.githubusercontent.com/74200c3fa0f7552ca4fd0a88a4a3cd6e863eff9ce2e2c3d8c88e6e54e57fa8fa/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d616d6a6164697162616c2f66696c616d656e742d75726c2d696d6167652d75706c6f61646572)](https://github.com/amjadiqbal/filament-url-image-uploader/graphs/contributors)Made with [contrib.rocks](https://contrib.rocks).

### Custom Development

[](#custom-development)

[Hire me on Upwork](https://www.upwork.com/freelancers/amjadkhatri) for:

- Package integration
- Custom feature development
- Technical consultation
- Project implementation

### Community Support

[](#community-support)

- [Discord Community](https://discord.com/channels/1352854772859932702/1352854916690874388)
- [Documentation](https://devodocs.com/laravel/filament-url-image-uploader)
- [GitHub Issues](https://github.com/amjadiqbal/filament-url-image-uploader/issues)

For priority support and enterprise solutions, please reach out via Upwork for direct assistance.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance87

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.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 ~81 days

Total

2

Last Release

24d ago

### Community

Maintainers

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

---

Top Contributors

[![amjadiqbal](https://avatars.githubusercontent.com/u/36040604?v=4)](https://github.com/amjadiqbal "amjadiqbal (19 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (2 commits)")

---

Tags

laravellaravel-packagefilamentfilament-pluginfilament-formImage uploadfilament-componentremote imageamjadiqbalfilament-url-image-uploaderurl-uploadimage-import

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/amjadiqbal-filament-url-image-uploader/health.svg)

```
[![Health](https://phpackages.com/badges/amjadiqbal-filament-url-image-uploader/health.svg)](https://phpackages.com/packages/amjadiqbal-filament-url-image-uploader)
```

###  Alternatives

[awcodes/filament-curator

A media picker plugin for FilamentPHP.

440384.7k28](/packages/awcodes-filament-curator)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3915.5k](/packages/rawilk-profile-filament-plugin)[backstage/mails

View logged mails and events in a beautiful Filament UI.

16429.7k](/packages/backstage-mails)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

85240.3k9](/packages/stephenjude-filament-two-factor-authentication)[relaticle/custom-fields

User Defined Custom Fields for Laravel Filament

16461.2k](/packages/relaticle-custom-fields)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

278359.3k10](/packages/croustibat-filament-jobs-monitor)

PHPackages © 2026

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