PHPackages                             nahidz/imagex - 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. nahidz/imagex

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

nahidz/imagex
=============

Imagex is an Image handling handy library

311PHP

Since Feb 26Pushed 12y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

imagex
======

[](#imagex)

Imagex is an Image handling library for Laravel 4. You can resize an image by scale, width, height and both of width and height. You can also compress image. Its too handy and easy to use.

Installation
============

[](#installation)

add this in your main composer.json file require section require: "nahidz/imagex": "dev-master"

and update your composer by using "composer update" command in your terminal

Configure
=========

[](#configure)

Add these in your laravel app/config/app.php "providers" array

'Nahidz\\Imagex\\ImagexServiceProvider',

Usage
=====

[](#usage)

Syntax: Imagex::load($photoName, $optionsArray)-&gt;action($parameter)-&gt;save();

List of Action:

resizeToHeight($height)

resizeToWidth($width)

scale($scale)

resize($width, $height)

Options: $optionsArray must be an array. Its has four items

array( 'path'=&gt;'where you want to save your image', 'name'=&gt;'Which name you want to set is your image', 'compress'=&gt;'compression value 0-100, its optional', 'permission'=&gt;'permission code, its also optional' )

Example
=======

[](#example)

Imagex::load('file', array('path'=&gt;'public/images/', 'name'=&gt; 'my\_photo.jpg'))-&gt;resizeToWidth(480)-&gt;save();

thats it.

Thank you :)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3167309?v=4)[Nahid Bin Azhar](/maintainers/nahid)[@nahid](https://github.com/nahid)

---

Top Contributors

[![nahid](https://avatars.githubusercontent.com/u/3167309?v=4)](https://github.com/nahid "nahid (12 commits)")

### Embed Badge

![Health badge](/badges/nahidz-imagex/health.svg)

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

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

133890.0k3](/packages/goat1000-svggraph)[imagekit/imagekit

PHP library for Imagekit

46877.3k10](/packages/imagekit-imagekit)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)

PHPackages © 2026

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