PHPackages                             onza-me/images - 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. onza-me/images

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

onza-me/images
==============

Package for handle and prepare images on Onza.Me projects

011PHP

Since Nov 16Pushed 4y ago2 watchersCompare

[ Source](https://github.com/Onza-Me/images)[ Packagist](https://packagist.org/packages/onza-me/images)[ RSS](/packages/onza-me-images/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

onza-me/images package
======================

[](#onza-meimages-package)

Main class where you can see main functionality [OnzaMe\\Images\\Images](https://github.com/Onza-Me/images/blob/master/src/Images.php)

Optimization images by Kraken.io
--------------------------------

[](#optimization-images-by-krakenio)

Optimization images're going through external service [kraken.io](https://kraken.io)

Env variables
-------------

[](#env-variables)

```
# kraken.io variables
ONZA_ME_KRAKENIO_API_KEY={API KEY}
ONZA_ME_KRAKENIO_API_SECRET={API SECRET}

# Limits of image dimensions and file sizes for getting validation rules
ONZA_ME_IMAGES_CANVAS_SIZES_FIT_TO={max width}*{max height} # Fit original sizes to this
ONZA_ME_IMAGES_CANVAS_SIZE_LIMITS={image_type|default:default}:{max width}*{max height},{min width}*{min height};photos:5000*5000,1920*1920
ONZA_ME_IMAGES_PREVIEW_CANVAS_SIZE_LIMITS=default:{preview_name}|{1 preview width}*{1 preview height},{preview_name}|{2 preview width}*{2 preview height};photos:default|480*290,first|360*180,second|180*60
# File size in kilobytes, default: 10000
ONZA_ME_IMAGES_MAX_FILE_SIZE=10000

```

ImageOptimzer class usage:
--------------------------

[](#imageoptimzer-class-usage)

First of all you have to install software from: [spatie/image-optimizer](https://github.com/spatie/image-optimizer#optimization-tools)

```
use OnzaMe\Images\Optimizers\ImageOptimizer;

$imageOptimizer = new ImageOptimizer();
$imageOptimizer->optimizer($imageFilepath, $outputImageFilepath);

```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

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

---

Top Contributors

[![acrossoffwest](https://avatars.githubusercontent.com/u/1808737?v=4)](https://github.com/acrossoffwest "acrossoffwest (19 commits)")[![xamel03rus](https://avatars.githubusercontent.com/u/66628045?v=4)](https://github.com/xamel03rus "xamel03rus (7 commits)")

### Embed Badge

![Health badge](/badges/onza-me-images/health.svg)

```
[![Health](https://phpackages.com/badges/onza-me-images/health.svg)](https://phpackages.com/packages/onza-me-images)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)

PHPackages © 2026

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