PHPackages                             alishahidi/image-rend-php - 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. alishahidi/image-rend-php

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

alishahidi/image-rend-php
=========================

Image library php

v1.2.0(3y ago)47MITPHP

Since Jan 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/alishahidi/image-rend-php)[ Packagist](https://packagist.org/packages/alishahidi/image-rend-php)[ RSS](/packages/alishahidi-image-rend-php/feed)WikiDiscussions main Synced yesterday

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

Image Rend php doc - main
=========================

[](#image-rend-php-doc---main)

TABLE OF CONTENTS
=================

[](#table-of-contents)

- [What is this](#what-is-this)
- [Usage](#usage)
- [Methods](#methods)
    - [make](#make)
    - [resize](#resize)
    - [fit](#fit)
    - [watermark](#watermark)
    - [text](#text)
    - [save](#save)

What is this
============

[](#what-is-this)

method chain php library for easily manage your image from input or file

Usage
=====

[](#usage)

require package from composer

```
composer require alishahidi/image-rend-php
```

Methods
=======

[](#methods)

make
----

[](#make)

### Note

[](#note)

create image instance

### argvs

[](#argvs)

1. name =&gt; post input name or file path
2. directory =&gt; root directory for save image
3. dateFormat =&gt; save image in dateFormat like Y/M/D

### use

[](#use)

```
use Alishahidi\ImageRendPhp\ImageRend;

$imageManager = new ImageRend();
$imageManager->make('image.jpg', 'images/', true);
```

resize
------

[](#resize)

### Note

[](#note-1)

resize image

### argvs

[](#argvs-1)

1. width
2. height

### use

[](#use-1)

```
$imageManager->resize(250, 340);
```

fit
---

[](#fit)

### Note

[](#note-2)

fit image size

### argvs

[](#argvs-2)

1. width
2. height

### use

[](#use-2)

```
$imageManager->fit(250, 340);
```

watermark
---------

[](#watermark)

### Note

[](#note-3)

add watermark to image

### argvs

[](#argvs-3)

1. path of watermark image
2. width
3. height
4. pos:’bottom-right’
5. x:20
6. y:20

### use

[](#use-3)

```
$imageManager->watermark("watermark.jpg", 200, 300);
```

text
----

[](#text)

### Note

[](#note-4)

add text watermark

### argvs

[](#argvs-4)

1. text
2. x:20
3. y:20
4. fontFile:’fonts/Roboto-Regular.ttf’
5. size:24
6. color:#ffffff
7. pos:’bottom-right’
8. angle:0

### use

[](#use-4)

```
$imageManager->text("alishahidinet.ir");
```

save
----

[](#save)

### Note

[](#note-5)

save image instance

### argvs

[](#argvs-5)

1. name:”
2. quality:42
3. format:jpg
4. unique:false

### use

[](#use-5)

```
$imageManager->save();
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

1269d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d6908ae4ba7857c1dbe8c19925378cddcb67611923aedf9c421f808999a1e6e?d=identicon)[alishahidi](/maintainers/alishahidi)

---

Top Contributors

[![alishahidi](https://avatars.githubusercontent.com/u/63677039?v=4)](https://github.com/alishahidi "alishahidi (3 commits)")

### Embed Badge

![Health badge](/badges/alishahidi-image-rend-php/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.5k78.3k91](/packages/pocketmine-pocketmine-mp)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M386](/packages/easycorp-easyadmin-bundle)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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