PHPackages                             lloricode/laravel-imageable - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. lloricode/laravel-imageable

Abandoned → [spatie/laravel-medialibrary](/?search=spatie%2Flaravel-medialibrary)ArchivedLibrary[Database &amp; ORM](/categories/database)

lloricode/laravel-imageable
===========================

Laravel Imageable

v1.2.3(5y ago)4733MITPHPPHP &gt;=7.3

Since Sep 9Pushed 5y agoCompare

[ Source](https://github.com/lloricode/laravel-imageable)[ Packagist](https://packagist.org/packages/lloricode/laravel-imageable)[ RSS](/packages/lloricode-laravel-imageable/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (4)Versions (31)Used By (0)

Laravel Imageable \[ABANDONED\]
===============================

[](#laravel-imageable-abandoned)

please use this [spatie/laravel-medialibrary](https://github.com/spatie/laravel-medialibrary)

[![Latest Version on Packagist](https://camo.githubusercontent.com/69d991073b25bb22ffd4437d9887b84869d05293e1920bdb6580e5810cb963fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6c6f7269636f64652f6c61726176656c2d696d61676561626c652e737667)](https://packagist.org/packages/lloricode/laravel-imageable) [![Build Status](https://camo.githubusercontent.com/110db4241cac74684f2ddcf530bd79d3d04c7ce0fa725ffc4b8a49b64fccdd8b/68747470733a2f2f7472617669732d63692e6f72672f6c6c6f7269636f64652f6c61726176656c2d696d61676561626c652e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/lloricode/laravel-imageable) [![Total Downloads](https://camo.githubusercontent.com/df4f7afab39872dd7abc598717c13d1d7cd01174e9cb87880bd9ab3f893e2875/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6c6f7269636f64652f6c61726176656c2d696d61676561626c652e737667)](https://packagist.org/packages/lloricode/laravel-imageable)

- Painless uploading and managing images to your eloquent laravel models.

> **Note:** This project abstracts [Spatie Image](https://github.com/spatie/image)

Requirements
------------

[](#requirements)

```
- CACHE_DRIVER=memcached (you can disable cache when need it)

```

Installation
------------

[](#installation)

```
composer require lloricode/laravel-imageable

```

- add to your model

```
// ...
use Illuminate\Database\Eloquent\Model;
use Lloricode\LaravelImageable\Models\Traits\ImageableTrait;

class MyModel extends Model
{
    use ImageableTrait;

    // ...

```

- Config

```
