PHPackages                             codewithkyle/jitter-core - 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. codewithkyle/jitter-core

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

codewithkyle/jitter-core
========================

An Imgix inspired image transformation library.

2.0.2(1y ago)07261MITPHPPHP ^7.2|^8.0

Since Mar 2Pushed 1y ago1 watchersCompare

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

READMEChangelog (5)DependenciesVersions (8)Used By (1)

Jitter
======

[](#jitter)

Jitter is an image transformation library with an API is based on [Imgix](https://docs.imgix.com/apis/url). This library was created to be a simple and free alternative to an Imgix style service. It **does not and will not** have all the bells and whistles that other services/libraries offer. If you need something more advanced besides basic image transformations I suggest you pay for [Imgix](https://www.imgix.com/pricing).

Requirements
------------

[](#requirements)

This library requires PHP 7.2 or later and [ImageMagick](https://imagemagick.org/index.php).

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

[](#installation)

```
# Install the library via composer
composer require codewithkyle/jitter-core

# Optional webp support (recommended)
sudo apt install webp
```

Using Jitter
------------

[](#using-jitter)

Transforming images:

```
use codewithkyle\JitterCore\Jitter;

class ImageController
{
    public function transformImage()
    {
        $imageFilePath = "./image.jpg"; // copy of source image (will be overwritten)
        $params = ["w" => 320, "ar" => "1:1", "fm" => "jpg"]; // See transformation parameter table below for more options

        $transformSettings = Jitter::BuildTransform($params); // Transform settings can be hashed with the base image's indentifier when caching
        Jitter::TransformImage($imageFilePath, $transformSettings); // Manipulates and overwrites the image located at $imageFilePath

        // Optional Next Steps:
        // Save $imageFilePath a cloud provider (such as S3)
    }
}
```

Transformation parameters:

ParameterDefaultDescriptionValid options`w`base image widthdesired image width`int``h`base image heightdesired image height`int``ar`base image aspect ratiodesired aspect ratio`int`:`int``fm``auto`desired image format`jpg`, `jpeg`, `png`, `gif`, `webp`, `auto``q``80`desired image quality`0` to `100``m``clip`how the image should be resized`crop`, `clip`, `fit`, `letterbox`, `croponly``bg``ffffff`letterbox background color`hex``fp-x``0.5` or asset focal pointhorizontal focus point`0` to `1``fp-y``0.5` or asset focal pointvertical focus point`0` to `1`The `auto` format type will return a `webp` image when the server can generate the format and the client's browser supports the format.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

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

Total

7

Last Release

585d ago

Major Versions

1.1.0 → 2.0.02022-07-01

PHP version history (2 changes)1.0.0PHP ^7.2

1.0.2PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e107911d4c7d48147c697817079732637c91f101c1810a114fed53456baf637?d=identicon)[codewithkyle](/maintainers/codewithkyle)

---

Top Contributors

[![codewithkyle](https://avatars.githubusercontent.com/u/15202776?v=4)](https://github.com/codewithkyle "codewithkyle (21 commits)")

### Embed Badge

![Health badge](/badges/codewithkyle-jitter-core/health.svg)

```
[![Health](https://phpackages.com/badges/codewithkyle-jitter-core/health.svg)](https://phpackages.com/packages/codewithkyle-jitter-core)
```

###  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)[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)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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