PHPackages                             mrcnpdlk/image-web-tool - 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. mrcnpdlk/image-web-tool

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

mrcnpdlk/image-web-tool
=======================

Image Web Manipulator

v0.1.1(8y ago)00MITPHPPHP &gt;=7.0

Since Jan 21Pushed 8y agoCompare

[ Source](https://github.com/mrcnpdlk/image-web-tool)[ Packagist](https://packagist.org/packages/mrcnpdlk/image-web-tool)[ RSS](/packages/mrcnpdlk-image-web-tool/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (5)Versions (4)Used By (0)

Image web tool
==============

[](#image-web-tool)

Simple image web tool manipulation package - other than all.

Instalation
-----------

[](#instalation)

The best way is cloning the repo with specific branch name. Stable releases are sown [here](https://github.com/mrcnpdlk/image-web-tool/releases).

```
git clone -b {STABLE_VERSION} https://github.com/mrcnpdlk/image-web-tool.git
```

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

[](#configuration)

In folder config copy file `config.json.dist` and rename to `config.json`. Edit file and set or delete options:

- `storage` - path to the folder with pictures
- `font` - path to the ttf file with font. Used as font on placeholders files.
- `debug` - if TRUE no placeholder, but exception stack is shown.

Default font [BlowBrush](https://www.behance.net/gallery/33043073/BlowBrush-free-font) is included to the project.

### Caching

[](#caching)

For better performance for each request cache is used. REDIS if enabled. If not FILES is used.

### Request url schema

[](#request-url-schema)

Example

```
http://example.com/iwt/v1/{params}/{fileName}

```

`params` and `fileName` are passed to the api.php file.

### Request Options (`params`)

[](#request-options-params)

OptionDescriptionValuesNoteswwidthvalue in pxhheightvalue in pxccrop modeenum: scale,fit,fit-margin,fillqquality0-100only JPG format supportedrrotateangle in degreesbgcbackground colorHEX formateeffectenum: g (gamma), n (negative), gr (grayscale), c (colorize), b (blur)eoeffect optionstring,int - depends on effect type, see table belowEffect \[e\]DescriptionOption \[eo\]Defaultggammagamma correcion1nnegativegrgrayscaleccolorizecolor in HEX format\#FFFFFFbblursigma1### Nginx Configuration

[](#nginx-configuration)

```
server {
    listen 127.0.0.1:9081 default_server;

    root API_DIR_LOCATION;

    index api.php;

    server_name _;

    location / {
        try_files $uri $uri/ /api.php?$args;
    }

    location ~ \.php$ {
        try_files $uri =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param SCRIPT_NAME $fastcgi_script_name;
        fastcgi_index index.php;
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
        }
}

```

```
server {
    ## LISTEN
    listen 81;

    ## SERVER
    server_name example.com;

    root ROOT_DIR;
    index index.php index.html index.htm index.nginx-debian.html;

    location /iwt/v1 {
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-NginX-Proxy true;

        rewrite ^/iwt/v1/?(.*) /$1 break;

        access_log /var/log/nginx/iwt-access.log;
        error_log /var/log/nginx/iwt-error.log;

        proxy_pass http://127.0.0.1:9081;
        proxy_redirect off;
    }

```

### Examples

[](#examples)

#### `/h_100/demo.jpg`

[](#h_100demojpg)

Height is set. Default FIT crop mode is enabled.

[![alt text](https://github.com/mrcnpdlk/image-web-tool/raw/master/demo/h_100-demo.jpg?raw=true)](https://github.com/mrcnpdlk/image-web-tool/blob/master/demo/h_100-demo.jpg?raw=true)

#### `/h_200,e_b,eo_5/demo.jpg`

[](#h_200e_beo_5demojpg)

Blur effect.

[![alt text](https://github.com/mrcnpdlk/image-web-tool/raw/master/demo/h_200,e_b,eo_5-demo.jpg?raw=true)](https://github.com/mrcnpdlk/image-web-tool/blob/master/demo/h_200,e_b,eo_5-demo.jpg?raw=true)

#### `/h_200,e_b,eo_5/demo.jpg`

[](#h_200e_beo_5demojpg-1)

Colorization effect with pink color.

[![alt text](https://github.com/mrcnpdlk/image-web-tool/raw/master/demo/h_200,e_c,eo_ff4080-demo.jpg?raw=true)](https://github.com/mrcnpdlk/image-web-tool/blob/master/demo/h_200,e_c,eo_ff4080-demo.jpg?raw=true)

#### `/h_200,e_n/demo.jpg`

[](#h_200e_ndemojpg)

Negative effect.

[![alt text](https://github.com/mrcnpdlk/image-web-tool/raw/master/demo/h_200,e_n-demo.jpg?raw=true)](https://github.com/mrcnpdlk/image-web-tool/blob/master/demo/h_200,e_n-demo.jpg?raw=true)

#### `/h_200,q_2/demo.jpg`

[](#h_200q_2demojpg)

Less quality.

[![alt text](https://github.com/mrcnpdlk/image-web-tool/raw/master/demo/h_200,q_2-demo.jpg?raw=true)](https://github.com/mrcnpdlk/image-web-tool/blob/master/demo/h_200,q_2-demo.jpg?raw=true)

#### `/h_200,w_200,c_fill/demo.jpg`

[](#h_200w_200c_filldemojpg)

FILL mode.

[![alt text](https://github.com/mrcnpdlk/image-web-tool/raw/master/demo/h_200,w_200,c_fill-demo.jpg?raw=true)](https://github.com/mrcnpdlk/image-web-tool/blob/master/demo/h_200,w_200,c_fill-demo.jpg?raw=true)

#### `/h_200,w_200,c_fit/demo.jpg`

[](#h_200w_200c_fitdemojpg)

FIT mode.

[![alt text](https://github.com/mrcnpdlk/image-web-tool/raw/master/demo/h_200,w_200,c_fit-demo.jpg?raw=true)](https://github.com/mrcnpdlk/image-web-tool/blob/master/demo/h_200,w_200,c_fit-demo.jpg?raw=true)

#### `/h_200,w_200,c_fit-margin/demo.jpg`

[](#h_200w_200c_fit-margindemojpg)

FIT MARGIN mode.

[![alt text](https://github.com/mrcnpdlk/image-web-tool/raw/master/demo/h_200,w_200,c_fit-margin-demo.jpg?raw=true)](https://github.com/mrcnpdlk/image-web-tool/blob/master/demo/h_200,w_200,c_fit-margin-demo.jpg?raw=true)

#### `/h_200,w_200,r_20/demo.jpg`

[](#h_200w_200r_20demojpg)

ROTATE mode.

[![alt text](https://github.com/mrcnpdlk/image-web-tool/raw/master/demo/h_200,w_200,r_20-demo.jpg?raw=true)](https://github.com/mrcnpdlk/image-web-tool/blob/master/demo/h_200,w_200,r_20-demo.jpg?raw=true)

#### `/w_200,h_100/demo.jpg`

[](#w_200h_100demojpg)

File not found. Placeholder is shown.

[![alt text](https://github.com/mrcnpdlk/image-web-tool/raw/master/demo/w_200,h_100-notfound.png?raw=true)](https://github.com/mrcnpdlk/image-web-tool/blob/master/demo/w_200,h_100-notfound.png?raw=true)

#### `/w_200,h_100/demo.jpg`

[](#w_200h_100demojpg-1)

Placeholder is shown.

[![alt text](https://github.com/mrcnpdlk/image-web-tool/raw/master/demo/w_200,h_100-placeholder.png?raw=true)](https://github.com/mrcnpdlk/image-web-tool/blob/master/demo/w_200,h_100-placeholder.png?raw=true)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

2

Last Release

3029d ago

### Community

Maintainers

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

---

Top Contributors

[![mrcnpdlk](https://avatars.githubusercontent.com/u/22945316?v=4)](https://github.com/mrcnpdlk "mrcnpdlk (24 commits)")

---

Tags

imageresizeweb tool

### Embed Badge

![Health badge](/badges/mrcnpdlk-image-web-tool/health.svg)

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

###  Alternatives

[intervention/image

PHP Image Processing

14.3k194.3M2.2k](/packages/intervention-image)[gumlet/php-image-resize

PHP class to re-size and scale images

1.2k5.7M53](/packages/gumlet-php-image-resize)[masterexploder/phpthumb

A library for manipulating images in PHP.

981751.7k16](/packages/masterexploder-phpthumb)[sybio/image-workshop

Powerful PHP class using GD library to work easily with images including layer notion (like Photoshop or GIMP)

860918.1k11](/packages/sybio-image-workshop)[intervention/image-laravel

Laravel Integration of Intervention Image

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

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k22](/packages/bkwld-croppa)

PHPackages © 2026

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