PHPackages                             nour/images - 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. nour/images

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

nour/images
===========

manage images with different entities

1.0.0.3(6y ago)012MITPHP

Since Jul 11Pushed 6y agoCompare

[ Source](https://github.com/MohammadNourHayik/nourImage)[ Packagist](https://packagist.org/packages/nour/images)[ RSS](/packages/nour-images/feed)WikiDiscussions master Synced 2mo ago

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

Images
======

[](#images)

Manage images with different entities

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

[](#requirements)

- PHP &gt;=5.4
- Fileinfo Extension

Supported Image Libraries
-------------------------

[](#supported-image-libraries)

- GD Library (&gt;=2.0)
- Imagick PHP extension (&gt;=6.5.7)

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

[](#installation)

`composer require nour/images`

After you have installed Intervention Image, open your Laravel config file config/app.php and add the following lines.

In the $providers array add the service providers for this package.

- `Nour\Images\Providers\ImagesServiceProvider::class,`

add `Imageable` in each model you want use image manager with it.

- ex: ` use Notifiable,Imageable;`

`php artisan migrate`

Code Examples
-------------

[](#code-examples)

```
// get user
$user=Auth::user();
// upload photo
$user->photo($request->file('photo'))->upload();

// resize image instance
$user->photo($request->file('photo'))->width(756)->height(425)->upload();

//get image src
$user->getImage()

// get image model
$user->Image;
```

Storage
-------

[](#storage)

in each model add : `protected $photoPath="{path}";`ex: `protected $photoPath="user";`

All images store in :

- `public\images\$photoPath`
- please create a correct folder path

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

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

4

Last Release

2498d ago

### Community

Maintainers

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

---

Top Contributors

[![NourHayik](https://avatars.githubusercontent.com/u/31212399?v=4)](https://github.com/NourHayik "NourHayik (10 commits)")

### Embed Badge

![Health badge](/badges/nour-images/health.svg)

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

###  Alternatives

[league/glide

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

2.6k51.2M116](/packages/league-glide)[jenssegers/imagehash

Perceptual image hashing for PHP

2.1k2.2M5](/packages/jenssegers-imagehash)[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)[lasserafn/php-initial-avatar-generator

A package to generate avatars with initials for PHP

4374.2M13](/packages/lasserafn-php-initial-avatar-generator)[rtippin/messenger

Laravel messenger suite.

45035.8k4](/packages/rtippin-messenger)

PHPackages © 2026

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