PHPackages                             chajr/grafika - 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. chajr/grafika

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

chajr/grafika
=============

An image manipulation library for PHP. Fork with some changes.

06PHP

Since Dec 17Pushed 3y agoCompare

[ Source](https://github.com/chajr/grafika)[ Packagist](https://packagist.org/packages/chajr/grafika)[ RSS](/packages/chajr-grafika/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Grafika
=======

[](#grafika)

[![Build Status](https://camo.githubusercontent.com/ea4c7eca7c6e8db6c4fec8fbfb82ead0f6741f841e1b171982c4661c3fbba5fd/68747470733a2f2f7472617669732d63692e6f72672f6b6f73696e69782f67726166696b612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kosinix/grafika)

An image processing library for PHP

Unique Features
---------------

[](#unique-features)

These are the features that make Grafika unique from other libs:

- [Smart Crop](https://kosinix.github.io/grafika/smart-crop.html) - Grafika can guess the crop position based on the image content where the most important regions are preserved.
- [Animated GIF Support](https://kosinix.github.io/grafika/animated-gif.html) - It can resize animated GIFs on both GD and Imagick. On GD, Grafika uses its own GIF parser to do this.
- [5 Resize Modes](https://kosinix.github.io/grafika/resizing.html) - Resize is a first class citizen in Grafika. Call them directly using resizeFit, resizeFill, resizeExact, resizeExactWidth, and resizeExactHeight or use the generic resize api.
- [Image Compare](https://kosinix.github.io/grafika/compare-images.html) - Find how similar two images are using perceptual hashes or check if they are exactly equal.
- [Advance Filters](https://kosinix.github.io/grafika/filters/Sobel.html) - Sobel and Floyd-Steinberg Dithering. More will be added in future releases.
- [Image Blending](https://kosinix.github.io/grafika/editor/blend.html) - Blend 2 images using the following modes: normal, multiply, overlay and screen.
- **Normalized API** - No need to worry about the differences between GD and Imagick API, Grafika normalizes these operations for you.

See documentation for a full list of features.

Documentation
-------------

[](#documentation)

API:
----

[](#api)

Packagist
---------

[](#packagist)

License
-------

[](#license)

- MIT License
- GPL 2

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 99.3% 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/fe3bb01759d649013c9375dfbc9e45145e315cc5dbd7448debfc95dba907bf11?d=identicon)[chajr](/maintainers/chajr)

---

Top Contributors

[![kosinix](https://avatars.githubusercontent.com/u/1096465?v=4)](https://github.com/kosinix "kosinix (270 commits)")[![chajr](https://avatars.githubusercontent.com/u/1511381?v=4)](https://github.com/chajr "chajr (2 commits)")

### Embed Badge

![Health badge](/badges/chajr-grafika/health.svg)

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

###  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)
