URL Image Uploader plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

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.

Tags: Forms Form Field
Supported versions:
3.x
Amjad Iqbal avatar Author: Amjad Iqbal

Documentation

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:

composer require amjadiqbal/filament-url-image-uploader

#Usage

use Amjadiqbal\FilamentUrlImageUploader\UrlImageUploader;

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

#Response Format

[
    "image" => "images/example.svg",
    "image_url" => "http://your-domain.com/storage/images/example.svg"
]

#Using with Models

// In your model (e.g., app/Models/Post.php)
protected function image(): Attribute
{
    return Attribute::make(
        get: fn ($value) => $value,
        set: fn ($value) => is_array($value) ? $value['image'] : $value,
    );
}

#Configuration

#Directory Configuration

You can customize the storage directory:

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

#Support

#Documentation

#Community

#Professional Support

Need expert help? Hire me on Upwork for:

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

#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:

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

#Community Support

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

The author

Amjad Iqbal avatar Author: Amjad Iqbal

I am a seasoned full-stack web developer specializing in Laravel, Livewire, and Vue.js ecosystems. With extensive experience in building modern web applications, I leverage the power of Laravel's elegant syntax and robust features to create scalable backend solutions. My expertise extends to crafting responsive and interactive user interfaces using Livewire and Vue.js, enhanced by the utility-first approach of Tailwind CSS.

Plugins
1
Stars
25