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 today

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

33

—

LowBetter than 72% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

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

632d 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://avatars.githubusercontent.com/u/15202776?v=4)[Kyle Andrews](/maintainers/codewithkyle)[@codewithkyle](https://github.com/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

[goat1000/svggraph

Generates SVG graphs

135911.1k3](/packages/goat1000-svggraph)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)[rsoury/wp-imgix

Rewrites WordPress image URLs to use ImgIX

167.2k](/packages/rsoury-wp-imgix)

PHPackages © 2026

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