axn/livewire-upload-handler
最新稳定版本:1.2.0
Composer 安装命令:
composer require axn/livewire-upload-handler
包简介
Modern file upload handler for Livewire 3 with chunked uploads, image previews, and Spatie Media Library integration
README 文档
README
Modern file upload handler for Livewire 3 with chunked uploads, image previews via Glide, and Spatie Media Library integration.
Features
- 📦 Chunked uploads for large files
- 🖼️ Image previews with Glide
- 🎯 Drag & drop support
- 🔄 Sortable files (with Sortable.js)
- ✅ MIME type & file size validation
- 🎨 Themeable (CSS classes + icons)
- 📱 Spatie Media Library integration
- 🌍 i18n (English + French)
- ⚡ Auto-save or manual mode
Requirements
- PHP 8.4+
- Laravel 12+
- Livewire 3.1+
Uses PHP 8.4 features: asymmetric visibility, enums, typed exceptions.
Quick Start
composer require axn/livewire-upload-handler
Add to your layout:
<head> @livewireStyles @livewireUploadHandlerStyles </head> <body> @livewireScripts @livewireUploadHandlerScripts </body>
Single file upload:
<livewire:upload-handler.item />
Documentation
- Installation - Setup and configuration
- Configuration - All config options
- Basic Usage - Single & multiple uploads
- Media Library - Spatie integration
- Customization - Themes, views, translations
- Advanced Usage - Custom components
- Events - Livewire events reference
- Troubleshooting - Common issues
License
MIT License - see LICENSE
Credits
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-02