PHPackages                             mmanos/laravel-image - 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. mmanos/laravel-image

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

mmanos/laravel-image
====================

An image management package for Laravel 4.

v1.0.1(11y ago)872MITPHPPHP &gt;=5.3.0

Since Sep 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/mmanos/laravel-image)[ Packagist](https://packagist.org/packages/mmanos/laravel-image)[ RSS](/packages/mmanos-laravel-image/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Image Package for Laravel 4
===========================

[](#image-package-for-laravel-4)

This package provides the ability to conveniently work with uploaded images. It includes an images table and model, and has the ability to provide multiple versions of the same image with different dimensions, generated on demand.

Dependencies
------------

[](#dependencies)

This package relies on the [laravel-storage](https://github.com/dmyers/laravel-storage) to manage the image files, which supports writing to the local filesystem or the Amazon S3 service.

Installation Via Composer
-------------------------

[](#installation-via-composer)

Add this to you composer.json file, in the require object:

```
"mmanos/laravel-image": "dev-master"
```

After that, run composer install to install the package.

Add the service provider to `app/config/app.php`, within the `providers` array.

```
'providers' => array(
	// ...
	'Mmanos\Image\ImageServiceProvider',
)
```

Add a class alias to `app/config/app.php`, within the `aliases` array.

```
'aliases' => array(
	// ...
	'Image' => 'Mmanos\Image\Image',
)
```

Configuration
-------------

[](#configuration)

Publish the default config file to your application so you can make modifications.

```
$ php artisan config:publish mmanos/laravel-image
```

Publish and run the database migrations for this package.

```
$ php artisan migrate:publish mmanos/laravel-image
$ php artisan migrate
```

> **Note:** Don't forget to create the writable directory used by the Storage package, if using the local filesystem driver.

Usage
-----

[](#usage)

#### Creating Images

[](#creating-images)

Create an image from image data:

```
$image = Image::put($contents);
```

Create an image from an uploaded image file:

```
$image = Image::upload($_FILES['image']);
```

Create an image from a file on the filesystem:

```
$image = Image::copy($path);
```

Create an image from a URL to an image:

```
$image = Image::copyUrl($url);
```

#### Using Images

[](#using-images)

Get URL to the original image:

```
$url = $image->url();
```

Get URL to image constrained to 128px (best fit, maintaining aspect ratio):

```
$url = $image->url('128');
```

Get URL to image constrained to 128px in height (maintaining aspect ratio):

```
$url = $image->url('128h');
```

Get URL to image constrained to 128px in width (maintaining aspect ratio):

```
$url = $image->url('128w');
```

Get URL to image cropped to a 128px square:

```
$url = $image->url('128s');
```

> **Note:** You may pass any arbitrary integer value for the image dimension.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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

2

Last Release

4266d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/972055?v=4)[Mark Manos](/maintainers/mmanos)[@mmanos](https://github.com/mmanos)

---

Top Contributors

[![mmanos](https://avatars.githubusercontent.com/u/972055?v=4)](https://github.com/mmanos "mmanos (5 commits)")[![dmyers](https://avatars.githubusercontent.com/u/207171?v=4)](https://github.com/dmyers "dmyers (2 commits)")

---

Tags

laravelimageresizephoto

### Embed Badge

![Health badge](/badges/mmanos-laravel-image/health.svg)

```
[![Health](https://phpackages.com/badges/mmanos-laravel-image/health.svg)](https://phpackages.com/packages/mmanos-laravel-image)
```

###  Alternatives

[intervention/image-laravel

Laravel Integration of Intervention Image

1496.5M102](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[reliqarts/laravel-guided-image

Simplified and ready image manipulation for Laravel via intervention image.

351.4k](/packages/reliqarts-laravel-guided-image)[ayvazyan10/nova-imagic

Imagic is a Laravel Nova field package that allows for image manipulation capabilities, such as cropping, resizing, quality adjustment, and WebP conversion. It utilizes the powerful Intervention Image class for image manipulation.

144.3k1](/packages/ayvazyan10-nova-imagic)

PHPackages © 2026

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