amjadiqbal/filament-url-image-uploader 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

amjadiqbal/filament-url-image-uploader

最新稳定版本:1.0.3

Composer 安装命令:

composer require 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.

README 文档

README

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.

统计信息

  • 总下载量: 215
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固