PHPackages                             thecodeholic/bulk-image-resize - 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. thecodeholic/bulk-image-resize

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

thecodeholic/bulk-image-resize
==============================

v1.1.1(6y ago)3502PHP

Since Feb 10Pushed 6y ago2 watchersCompare

[ Source](https://github.com/thecodeholic/BulkImageResize)[ Packagist](https://packagist.org/packages/thecodeholic/bulk-image-resize)[ RSS](/packages/thecodeholic-bulk-image-resize/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

Bulk Image resize
=================

[](#bulk-image-resize)

Using this package you can resize all images inside specific folder

Usage
-----

[](#usage)

Put images inside `images` folder and run `php index.php` from the project's root directory.

If you want to integrate this into your project use class ImageResize

```
$resizer = new ImageResize();
$resizer->resizeAllImages('directory under which you want to resize');
```

### Options

[](#options)

```
// The image width which will be used to create thumbnails
$imageWidth = 128;
// Extensions to check each file against before trying to resize
$extensions = ['jpg', 'png'];

$resizer = new ImageResize($imageWidth, $extensions);
$resizer->resizeAllImages('directory under which you want to resize');
```

### Events

[](#events)

```
$resizer = new ImageResize($imageWidth, $extensions);

// Before resizing the image
$resizer->onBeforeResize(function($path){
    echo "Before resize " . $path . PHP_EOL;
});
// After resizing the image
$resizer->onAfterResize(function($path){
    echo "After resize " . $path . PHP_EOL;
});

$resizer->resizeAllImages('directory under which you want to resize');
```

### This project is part of the youtube video

[](#this-project-is-part-of-the-youtube-video)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

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

5

Last Release

2287d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47417401?v=4)[Zura Sekhniashvili](/maintainers/arboshiki)[@arboshiki](https://github.com/arboshiki)

---

Top Contributors

[![thecodeholic](https://avatars.githubusercontent.com/u/4627922?v=4)](https://github.com/thecodeholic "thecodeholic (8 commits)")

### Embed Badge

![Health badge](/badges/thecodeholic-bulk-image-resize/health.svg)

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

###  Alternatives

[liip/imagine-bundle

This bundle provides an image manipulation abstraction toolkit for Symfony-based projects.

1.7k38.3M217](/packages/liip-imagine-bundle)[contao/imagine-svg

Contao Imagine SVG library

863.0M15](/packages/contao-imagine-svg)[folklore/image

Image manipulation library for Laravel 5 based on Imagine and inspired by Croppa for easy url based manipulation

270248.2k5](/packages/folklore-image)[rokka/imagine-vips

libvips adapter for imagine

43564.1k5](/packages/rokka-imagine-vips)[orchestra/imagine

Imagine (Wrapper) Component for Laravel

70207.0k3](/packages/orchestra-imagine)[media-alchemyst/media-alchemyst

An Object Oriented wrapper for easy multimedia conversion, based on Imagine, FFMpeg, SwfTools, Unoconv and other libs

65216.4k1](/packages/media-alchemyst-media-alchemyst)

PHPackages © 2026

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