PHPackages                             beestreams/laravelimageable - 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. [Image &amp; Media](/categories/media)
4. /
5. beestreams/laravelimageable

ActiveLibrary[Image &amp; Media](/categories/media)

beestreams/laravelimageable
===========================

Add images to your models. Resizes images

1.1.0(8y ago)1123MITPHP

Since Aug 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/beestreams/laravelimageable)[ Packagist](https://packagist.org/packages/beestreams/laravelimageable)[ RSS](/packages/beestreams-laravelimageable/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

Package to add Images to models
===============================

[](#package-to-add-images-to-models)

Usage
-----

[](#usage)

1. Install via composer
2. If Laravel 5.4 or lower, add service provider `Beestreams\LaravelImageable\ImageableProvider::class`
3. run `php artisan vendor:publish --tag=config`
4. Migrate database
5. Include Imageable trait on models
6. Set upload path on model `protected $imagePath = 'example/'`
7. When file is available, add it to model `$model->attachImage($file);`

When file is added to model, it first persists an Image model to DB it then saves the file to specified path. You can set sizes in config to make several images. These are jobs dispatched to queue. For each image size it makes an additional model. When model is deleted, it also deletes the file. When original model is deleted all related models and files are deleted

For method list see `Imageable` trait or `IntegrationTest`

If you want alt\_text and description for your files … support for that is coming

TODO:

- Get file from url (route and response)
- Multiple file types support
- SVG support
- create failsafe in ResizeImage job. If size does not exist, fail gracefully
- Integrationtest is a test-dump. Clean up and refactor
- Fix hacky Job handle method
- Whats up with all the save methods?
- External storage services
- Delete all sizes on delete
- Create controller for image and refactor routes file
- If file directory is empty remove directory on delete

Important
---------

[](#important)

There is no validation in this package, please validate your requests before using.

Vendor publish
--------------

[](#vendor-publish)

If you need to modify migrations, models or traits you can ´vendor:publish´ this package. (not tested)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

7

Last Release

3233d ago

Major Versions

0.8.2 → 1.0.02017-08-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8350a145ba3f2cff047cfe8e3d63a6f45d3fdf12ed4b6f3e56c42483650c0f8?d=identicon)[beestreams](/maintainers/beestreams)

---

Top Contributors

[![beestreams](https://avatars.githubusercontent.com/u/326241?v=4)](https://github.com/beestreams "beestreams (36 commits)")

### Embed Badge

![Health badge](/badges/beestreams-laravelimageable/health.svg)

```
[![Health](https://phpackages.com/badges/beestreams-laravelimageable/health.svg)](https://phpackages.com/packages/beestreams-laravelimageable)
```

###  Alternatives

[league/glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k52.6M140](/packages/league-glide)[intervention/image-laravel

Laravel Integration of Intervention Image

1588.9M161](/packages/intervention-image-laravel)[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

506516.3k27](/packages/bkwld-croppa)[october/rain

October Rain Library

1601.7M73](/packages/october-rain)[intervention/image-driver-vips

libvips driver for Intervention Image

47144.1k10](/packages/intervention-image-driver-vips)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
