PHPackages                             kappa/thumbnails-helper - 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. [Framework](/categories/framework)
4. /
5. kappa/thumbnails-helper

ActiveLibrary[Framework](/categories/framework)

kappa/thumbnails-helper
=======================

Simple and intelligent system for creating and work with thumbnails

v1.0.1(11y ago)11.0k[1 issues](https://github.com/Kappa-org/Thumbnails-Helper/issues)BSD-3-ClausePHPPHP &gt;= 5.3.6

Since May 25Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Kappa-org/Thumbnails-Helper)[ Packagist](https://packagist.org/packages/kappa/thumbnails-helper)[ Docs](https://github.com/Kappa-org/Thumbnails-Helper)[ RSS](/packages/kappa-thumbnails-helper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

Kappa\\ThumbnailsHelper
=======================

[](#kappathumbnailshelper)

Simple and intelligent system for creating and work with thumbnails

Requirements:
-------------

[](#requirements)

- PHP 5.3.6 or higher
- [Nette](https://github.com/nette/nette) ~2.1 or higher
- [Kappa\\FileSystem](https://github.com/Kappa-org/FileSystem) 4.1.1 or higher

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

[](#installation)

The best way to install Kappa\\ThumbnailsHelper is using Composer:

```
$ composer require kappa/thumbnails-helper:@dev
```

Usages
------

[](#usages)

You must register extension:

```
extensions:
	thumb: Kappa\ThumbnailsHelper\DI\ThumbnailsHelperExtension
```

Into presenter or control where you can use this helper add filter (helper)

```
$template->addFilter('thumb', array($this->thumbnailsHelper, 'process')) // for Nette 2.2
$template->registerHelper('thumb', array($this->thumbnailsHelper, 'process')) // for Nette 2.1
```

**Method in callback must be `process()`!**

and you can use helper in templates

```

```

Size can be in next formats:

- `100x` - Width will be 100px and height will be automatically calculated
- `x100` - Width will be automatically calculated and height will be 100px
- `100x100` - Size will be 100pxx100px

Third argument is resize type, for more info see [documentation](http://doc.nette.org/cs/2.1/images#toc-zmena-velikosti)*in czech only*

Helper can be configure in config:

- `thumbDir:` - set path to thumb dir **with %wwwDir%** (example `%wwwDir%/thumbs`)
- `sizeUp` - you can set to true or false when you want small image resize to big image
- `controlFrequency` - you can set count of days for invalidate storage (remove all thumbnails and create a new only from usages images). If you set this option on `false` or remove option automatically control has been disabled

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

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

Total

2

Last Release

4153d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c0840abca14f130b93d02cfa8412e99dc0645ca3f7e57cf75cfcb487efe33aa?d=identicon)[Budry](/maintainers/Budry)

---

Top Contributors

[![Budry](https://avatars.githubusercontent.com/u/990676?v=4)](https://github.com/Budry "Budry (149 commits)")

---

Tags

frameworkhelpersnetteKappaThumbnails

### Embed Badge

![Health badge](/badges/kappa-thumbnails-helper/health.svg)

```
[![Health](https://phpackages.com/badges/kappa-thumbnails-helper/health.svg)](https://phpackages.com/packages/kappa-thumbnails-helper)
```

###  Alternatives

[nette/application

🏆 Nette Application: a full-stack component-based MVC kernel for PHP that helps you write powerful and modern web applications. Write less, have cleaner code and your work will bring you joy.

44615.4M983](/packages/nette-application)

PHPackages © 2026

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