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.
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
- Full Documentation
- API Reference
- Examples & Tutorials
#Community
- Join our Discord Community for discussions
- Report issues on GitHub
#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
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.
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
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
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese