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

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

ratulhasan/image
================

Laravel Image for image manipulations.

v1.0(7y ago)0451MITPHP

Since Dec 6Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

image
=====

[](#image)

**Image** package is an image manipulation package for **PHP**. It supports basic image manipulations such as resize, watermark. You can use this package with any **PHP** projects.

### Installing

[](#installing)

```
composer require ratulhasan/image

```

### Usage

[](#usage)

```
$image_file = 'upload_file.jpg'
$destination = 'uploaded_path/upload_file.jpg'
$desired_width = 600 (optional)
$desired_height = 600 (optional)

```

```
\RatulHasan\Image\Image::createThumb($image_file, $destination, $desired_width, $desired_height)

```

```
$target = 'uploaded_path/upload_file.jpg'
$watermark_file = 'watermark_file.png' (supports only png file)

```

```
\RatulHasan\Image\Image::watermark($target, $watermark_file)

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

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

Unknown

Total

1

Last Release

2716d ago

### Community

Maintainers

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

---

Top Contributors

[![RatulHasan](https://avatars.githubusercontent.com/u/14246834?v=4)](https://github.com/RatulHasan "RatulHasan (22 commits)")

### Embed Badge

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

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

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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