承接 mrbohem/laramage 相关项目开发

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

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

mrbohem/laramage

最新稳定版本:v1.0.4

Composer 安装命令:

composer require mrbohem/laramage

包简介

This package is used for image manipulation and uploadation on multiple storage

README 文档

README

Laramage is a Laravel-friendly image manipulation package built on top of Intervention Image v3. It allows you to easily read, resize, convert, and store images across different storage disks like local, public, and s3.

✨ Features

  • ✅ Read image from UploadedFile or file path
  • 🔧 Resize, scale, crop, and apply any Intervention method
  • 🔄 Convert image formats (e.g. JPEG, PNG, WebP)
  • 💾 Store image in any Laravel-supported filesystem

🧰 Requirements

📦 Installation

composer require mrbohem/laramage

🚀 Usage

use MrBohem\Laramage\Laramage;

Laramage::handler()
        ->load('public/images/product/main.png')
        ->convert('toWebp')
        ->apply('scale', 600, 600)
        ->store(directory: 'processed')
        ->getPath();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-07