Download the PHP package amjadiqbal/filament-url-image-uploader without Composer

On this page you can find all versions of the php package amjadiqbal/filament-url-image-uploader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package 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

You can install the package via composer:

Usage

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:

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

Configuration

Directory

You can customize the storage directory:

Disk

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

Preserve original filenames

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:

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.

Using it in a Repeater (image gallery)

Each row gets its own instance of the field, so adding, deleting, and reordering rows keeps every image with its own row — covered by a dedicated Testbench/Livewire suite (tests/Feature/RepeaterGalleryTest.php) exercising fresh multi-image upload, a no-op edit-and-save across separate page loads, deleting a middle row, reordering, adding a row to an existing gallery, and deleting-then-adding (to catch a resurrected "deleted" image).

Gotcha: while a row is being edited, its live state is the field's internal {path, url} shape, not the flat string your model attribute ends up with — that flat string only exists after dehydration. If you add an itemLabel() (or a header) that reads the row's image value directly, e.g. fn (array $state) => $state['image'], it will receive that nested array while the form is open and throw a type error the moment you type-hint a string return. Read $state['image']['path'] ?? null (an array) if you need a label from it, or avoid keying the label off this field at all.

Translations

All user-facing strings ship in English by default. Publish them to customize or translate:

Testing

Support

Documentation

Community

Professional Support

Need expert help? Hire me on Upwork for:

Changelog

Please see CHANGELOG.md for more information on what has changed recently.

Security Vulnerabilities

If you discover a security vulnerability, please report it in our Security Room on Discord. All security vulnerabilities will be promptly addressed.

Contributing

We welcome contributions!

Contributors

Made with contrib.rocks.

Custom Development

Hire me on Upwork for:

Community Support

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


All versions of filament-url-image-uploader with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
filament/filament Version ^3.0
spatie/laravel-package-tools Version ^1.15.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package amjadiqbal/filament-url-image-uploader contains the following files

Loading the files please wait ...