承接 artisanpack-ui/media-library 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

artisanpack-ui/media-library

最新稳定版本:1.0.0

Composer 安装命令:

composer require artisanpack-ui/media-library

包简介

Media library package for ArtisanPack UI

README 文档

README

Tests PHP Version Laravel Version

A comprehensive media management package for Laravel applications with support for image processing, folder organization, tagging, and modern image format conversion (WebP/AVIF).

Features

  • 📁 Hierarchical Folder Organization - Organize media into nested folders
  • 🏷️ Tag Management - Tag media items for easy categorization
  • 🖼️ Image Processing - Automatic thumbnail generation in multiple sizes
  • 🚀 Modern Image Formats - Automatic conversion to WebP and AVIF
  • 📦 Storage Abstraction - Support for multiple storage backends via Laravel's filesystem
  • 🎬 Video Support - Video thumbnail extraction using FFmpeg (optional)
  • 🔍 Advanced Search & Filtering - Search by name, filter by type, folder, or tag
  • 🎯 Drag & Drop Upload - Modern upload interface with progress tracking
  • 🖱️ Media Modal Component - Single/multi-select modal for choosing media with context support
  • 🔐 Permission-based Access Control - Granular capability-based permissions
  • 🎨 Publishable Views - Customize all Blade views to match your design
  • 🧪 Comprehensive Test Coverage - Over 100 tests with 90%+ coverage

Requirements

  • PHP 8.2 or higher
  • Laravel 12.0 or higher
  • Intervention Image 3.0 for image processing
  • FFmpeg (optional, for video thumbnail extraction)

Installation

Install via Composer:

composer require artisanpack-ui/media-library

Quick Start

// Upload media
$media = apUploadMedia($file, [
    'title' => 'My Image',
    'alt_text' => 'Alt text for accessibility',
    'folder_id' => 1,
]);

// Get media URL
$url = apGetMediaUrl($mediaId, 'thumbnail');

// Display image
$media = apGetMedia($mediaId);
echo $media->displayImage('large', ['class' => 'img-fluid']);

Documentation

📚 Complete Documentation

Testing

Run the test suite:

composer test

Contributing

Contributions are welcome! Please ensure all tests pass and code follows ArtisanPack UI Code Standards.

Security

If you discover a security vulnerability, please send an email to security@artisanpack.com.

Credits

  • Jacob Martella
  • Intervention Image for image processing
  • PHP-FFMpeg for video processing

License

This package is proprietary software developed by ArtisanPack UI.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2025-11-03