Laraimage
Search
K

Introduction

A Laravel package that adds a simple image functionality to any Laravel model

Getting started

Laraimage served four use cases when using images in web applications and backend services:
  • Single Column Single Image
  • Single Column Multi Image
  • Multi Column Single Image
  • Multi Column Multi Image
which appears in this diagram:
Laraimage use cases

The json structure of the single image is:

{
"disk": "public",
"path": "path"
}

The json structure of the multi image is:

{
"id": 1093742,
"disk": "public",
"path": "path"
}
Note: you can change the disk of your filesystem without effect the old files because the disk already stored with each image

Installation

Install Laraimage using composer.
composer require husseinferas/laraimage
Last modified 2yr ago