PHPackages                             tomkirsch/resizer - 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. tomkirsch/resizer

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

tomkirsch/resizer
=================

Image resizer library for CI4

v2.2.0(6mo ago)028MITPHPPHP &gt;=7.2

Since Oct 8Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/tomkirsch/ci4-resizer)[ Packagist](https://packagist.org/packages/tomkirsch/resizer)[ RSS](/packages/tomkirsch-resizer/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (10)Dependencies (1)Versions (17)Used By (0)

GD Image Resizer
================

[](#gd-image-resizer)

Installation
------------

[](#installation)

Create the config file `app/Config/ResizerConfig.php`

```

```

Use the picture utility to automate breakpoints:

```
Config\Services::resizer()->picture(
		[ 	//  attr
			'class' => 'my-picture',
		],
		[	//  attr
			'alt' => 'kitten picture',
		],
		[	// options
			'file' => 'kitten-src',
			'breakpoints' => [576, 768, 992], // custom breakpoints
			'loading' => 'lazy', // load only when in viewport
			'fetchpriority' => 'low', // priority once in viewport
		],
		// additional s. These take priority.
		['media' => '(min-width: 600px)', 'breakpoints' => [390]] // show a 390px image if screen is 600px or larger. This will also support DPR (2x)
	)

```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance68

Regular maintenance activity

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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 ~105 days

Recently: every ~170 days

Total

16

Last Release

184d ago

Major Versions

v1.0.4 → v2.0.02024-03-19

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/362359?v=4)[Thomas Kirsch](/maintainers/tkirsch)[@tkirsch](https://github.com/tkirsch)

---

Top Contributors

[![tomkirsch](https://avatars.githubusercontent.com/u/36715955?v=4)](https://github.com/tomkirsch "tomkirsch (33 commits)")

### Embed Badge

![Health badge](/badges/tomkirsch-resizer/health.svg)

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

###  Alternatives

[codeigniter4/appstarter

CodeIgniter4 starter app

1811.8M](/packages/codeigniter4-appstarter)[goat1000/svggraph

Generates SVG graphs

135931.0k3](/packages/goat1000-svggraph)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1111.2k](/packages/abydahana-aksara)[gravatarphp/gravatar

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

12663.2k2](/packages/gravatarphp-gravatar)[sourcebroker/imageopt

Optimize images created/resized by TYPO3 so they take less space. Safe as it does not optimize original images.

3144.9k](/packages/sourcebroker-imageopt)[maniaba/asset-connect

AssetConnect is a file management library for CodeIgniter 4 that allows you to associate files with any entity in your application

1016.0k](/packages/maniaba-asset-connect)

PHPackages © 2026

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