PHPackages                             localgod/karla - 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. localgod/karla

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

localgod/karla
==============

ImageMagick wrapper

v1.1.0(4mo ago)53.7k1MITPHPPHP ^8.0CI passing

Since May 15Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/localgod/karla)[ Packagist](https://packagist.org/packages/localgod/karla)[ Docs](https://localgod.github.io/karla/)[ RSS](/packages/localgod-karla/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (4)Dependencies (3)Versions (13)Used By (0)

Karla
=====

[](#karla)

[![Main](https://github.com/localgod/karla/actions/workflows/php.yml/badge.svg?branch=master)](https://github.com/localgod/karla/actions/workflows/php.yml)[![Latest Stable Version](https://camo.githubusercontent.com/3edf6a45929291021b96e88a45c351282339ab39d735427aa5f792bcb110414b/68747470733a2f2f706f7365722e707567782e6f72672f6c6f63616c676f642f6b61726c612f762f737461626c65)](https://packagist.org/packages/localgod/karla)[![Total Downloads](https://camo.githubusercontent.com/43f389f73b1906519c4f852a1df1010cc408e7e7473ac079966aa3b9f0aea8fc/68747470733a2f2f706f7365722e707567782e6f72672f6c6f63616c676f642f6b61726c612f646f776e6c6f616473)](https://packagist.org/packages/localgod/karla)[![Latest Unstable Version](https://camo.githubusercontent.com/d191d8efaf71ce87874bed784ad3d3e94c2d3560014eab52bf7b958ed266a4a9/68747470733a2f2f706f7365722e707567782e6f72672f6c6f63616c676f642f6b61726c612f762f756e737461626c65)](https://packagist.org/packages/localgod/karla)[![License](https://camo.githubusercontent.com/8f300b17e4869ee719dc5443b6786d332196d13f24e3c18db3a5770512979639/68747470733a2f2f706f7365722e707567782e6f72672f6c6f63616c676f642f6b61726c612f6c6963656e7365)](https://packagist.org/packages/localgod/karla)[![Project Stats](https://camo.githubusercontent.com/64b6c7f7886e7e978f263d7fa029a2cc6066511cd16c593634dc2a552c4d6bbc/68747470733a2f2f7777772e6f70656e6875622e6e65742f702f4b61726c612f776964676574732f70726f6a6563745f7468696e5f62616467652e676966)](https://www.openhub.net/p/Karla)[![FOSSA Status](https://camo.githubusercontent.com/ae5c1be64e6e2b6f76164b3fb7218f47040b05d4722c3ed247d384057ecaaacc/68747470733a2f2f6170702e666f7373612e636f6d2f6170692f70726f6a656374732f6769742532426769746875622e636f6d2532466c6f63616c676f642532466b61726c612e7376673f747970653d736869656c64266973737565547970653d6c6963656e7365)](https://app.fossa.com/projects/git%2Bgithub.com%2Flocalgod%2Fkarla?ref=badge_shield&issueType=license)

Karla is an ImageMagick wrapper written in PHP with support for method chaining.

✨ **Now with ImageMagick 7 support!** Automatically detects and works with both ImageMagick 6 and 7.

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

[](#requirements)

- PHP 8.0+ (8.2+ recommended)
- ImageMagick 6.x or 7.x
- PHP extensions: pcre, SPL (default in most distributions)
- [shell\_exec()](http://php.net/manual/en/function.shell-exec.php) must be enabled

Supported Versions
------------------

[](#supported-versions)

CI matrix tests the following combinations:

PHPImageMagick 6ImageMagick 78.2✅ Linux✅ Linux8.3✅ Linux✅ Linux8.4✅ Linux/macOS✅ Linux/macOS/WindowsInstallation
------------

[](#installation)

```
composer require localgod/karla
```

Getting Started
---------------

[](#getting-started)

```
use Karla\Karla;

$karla = new Karla('/path/to/imagemagick/');
$karla->convert()
    ->input('photo.jpg')
    ->resize(800, 600)
    ->output('photo-resized.jpg')
    ->execute();
```

See the [documentation](http://localgod.github.io/karla/) for more examples and usage details.

Contributing
------------

[](#contributing)

Contributions are welcome! See [CONTRIBUTE.md](CONTRIBUTE.md) for development setup, testing guidelines, and how to submit pull requests.

License
-------

[](#license)

[![FOSSA Status](https://camo.githubusercontent.com/8f9058393f0acc2239340ff963bf446329ce4cbbbedb1bff6ef062c9f4fc79b9/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d2532466c6f63616c676f642532466b61726c612e7376673f747970653d6c61726765)](https://app.fossa.io/projects/git%2Bgithub.com%2Flocalgod%2Fkarla?ref=badge_large)

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance84

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 66.8% 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 ~1167 days

Total

4

Last Release

149d ago

PHP version history (3 changes)v1.0.0PHP &gt;=5.3.3

v1.0.1PHP &gt;=8.0

v1.1.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ad971c586a3020fb32c18801008a04b899f83efbc76f244a7e4128096c28b1a?d=identicon)[localgod](/maintainers/localgod)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (143 commits)")[![localgod](https://avatars.githubusercontent.com/u/1308965?v=4)](https://github.com/localgod "localgod (53 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (14 commits)")[![vvh-empora](https://avatars.githubusercontent.com/u/5236105?v=4)](https://github.com/vvh-empora "vvh-empora (2 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")[![skydiablo](https://avatars.githubusercontent.com/u/956423?v=4)](https://github.com/skydiablo "skydiablo (1 commits)")

---

Tags

imagemagickimagemagick-wrapperphpphpimageImageMagickimage manipulationimage processinggraphics

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/localgod-karla/health.svg)

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

###  Alternatives

[imagine/imagine

Image processing for PHP

4.5k72.4M341](/packages/imagine-imagine)[rokka/imagine-vips

libvips adapter for imagine

43564.1k5](/packages/rokka-imagine-vips)[pixelandtonic/imagine

Image processing for PHP

133.4M3](/packages/pixelandtonic-imagine)[batdan/midjourney-api-php

Generate images Midjourney (Discord API). URLs in prompt accepted

222.2k](/packages/batdan-midjourney-api-php)

PHPackages © 2026

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