Skip to content

mrbohem/laramage

Repository files navigation

📸 Laramage

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();

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages