PHPackages                             luketowers/oc-tinypng-plugin - 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. luketowers/oc-tinypng-plugin

Abandoned → [winter/wn-tinypng-plugin](/?search=winter%2Fwn-tinypng-plugin)Winter-plugin[Image &amp; Media](/categories/media)

luketowers/oc-tinypng-plugin
============================

Automatically optimize resized images in Winter CMS with TinyPNG

v2.0.0(5y ago)92313[1 issues](https://github.com/wintercms/wn-tinypng-plugin/issues)MITPHPPHP &gt;=7.2

Since Mar 21Pushed 2y ago4 watchersCompare

[ Source](https://github.com/wintercms/wn-tinypng-plugin)[ Packagist](https://packagist.org/packages/luketowers/oc-tinypng-plugin)[ Docs](https://github.com/wintercms/wn-tinypng-plugin)[ GitHub Sponsors](https://github.com/LukeTowers)[ RSS](/packages/luketowers-oc-tinypng-plugin/feed)WikiDiscussions main Synced 4d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

About
=====

[](#about)

Automatically optimizes resized images with TinyPNG.

Configuration
=============

[](#configuration)

If you are using the [`.env` file](https://wintercms.com/docs/setup/configuration#dotenv-configuration) for configuration, simply add your [TinyPNG API Key](https://tinypng.com/dashboard/api) to the environment file as `TINYPNG_API_KEY`. If you are not using the `.env` file, simply copy `plugins/winter/tinypng/config/config.php` to `config/winter/tinypng/config.php` and change the value of `apiKey`.

That's it! This plugin will then start automatically optimizing images resized with the `| resize()` filter provided by the Winter CMS core.

> **NOTE:** This plugin will not cause existing resized images to be regenerated. If you would like to regenerate existing images then delete the existing generated images and the resizer will automatically regenerate them for you.

Installation
============

[](#installation)

To install from the [Marketplace](https://wintercms.com/plugin/winter-tinypng), click on the "Add to Project" button and then select the project you wish to add it to. Once the plugin has been added to the project, go to the backend and check for updates to pull in the plugin.

To install from the backend, go to **Settings -&gt; Updates &amp; Plugins -&gt; Install Plugins** and then search for `Winter.TinyPNG`.

To install from [the repository](https://github.com/winter/wn-tinypng-plugin), clone it into **plugins/winter/tinypng** and then run `composer update` from your project root in order to pull in the dependencies.

To install it with Composer, run `composer require winter/wn-tinypng-plugin` from your project root.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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

Unknown

Total

1

Last Release

1881d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7253840?v=4)[Luke Towers](/maintainers/LukeTowers)[@LukeTowers](https://github.com/LukeTowers)

---

Top Contributors

[![LukeTowers](https://avatars.githubusercontent.com/u/7253840?v=4)](https://github.com/LukeTowers "LukeTowers (7 commits)")[![AIC-BV](https://avatars.githubusercontent.com/u/89913092?v=4)](https://github.com/AIC-BV "AIC-BV (1 commits)")

---

Tags

hacktoberfestlaravelimage-optimizationtinypngtinyjpgwinterwintercms

### Embed Badge

![Health badge](/badges/luketowers-oc-tinypng-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/luketowers-oc-tinypng-plugin/health.svg)](https://phpackages.com/packages/luketowers-oc-tinypng-plugin)
```

###  Alternatives

[wintercms/winter

Free, open-source, self-hosted CMS platform based on the Laravel PHP Framework. Originally known as October CMS.

1.5k43.3k](/packages/wintercms-winter)[schmitzal/tinyimg

Image compression for all pngs and jpgs uploaded to the backend (using the tinypng API)

16125.5k](/packages/schmitzal-tinyimg)[kinglozzer/tinypng

TinyPNG PHP API

1292.1k2](/packages/kinglozzer-tinypng)

PHPackages © 2026

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