PHPackages                             pedrotroller/image-muffin - 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. pedrotroller/image-muffin

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

pedrotroller/image-muffin
=========================

v1.0.3(7y ago)02.6kPHP

Since Oct 29Pushed 7y ago1 watchersCompare

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

READMEChangelogDependencies (5)Versions (5)Used By (0)

This script will return the content of the image directly.

Usage
-----

[](#usage)

```
  vendor/bin/muffinizer [options]
```

Options
-------

[](#options)

```
  --landscape        Will generate a landscape.
  --portrait         Will generate a portrait.
  --width[=WIDTH]    The desired width of the image.
  --height[=HEIGHT]  The desired height of the image.
  --bmp              Will generate a .bmp image.
  --gif              Will generate a .gif image.
  --jpeg             Will generate a .jpeg image.
  --jpg              Will generate a .jpg image (default).
  --png              Will generate a .png image.
  --wbmp             Will generate a .wbmp image.
  --webp             Will generate a .webp image.
  --xbm              Will generate a .xbm image.
  --content          Will return the content of the resulting image (default).
  --base64           Will return the base64 of the resulting image.

```

-h, --help Display this help message -q, --quiet Do not output any message -V, --version Display this application version --ansi Force ANSI output --no-ansi Disable ANSI output -n, --no-interaction Do not ask any interactive question -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Examples
--------

[](#examples)

### Generate a landscape image

[](#generate-a-landscape-image)

```
  vendor/bin/muffinizer --landscape
```

#### Generate a landscape image with a specific size

[](#generate-a-landscape-image-with-a-specific-size)

```
  vendor/bin/muffinizer --landscape --width 300
```

```
  vendor/bin/muffinizer --landscape --height 300
```

### Generate a portrait image

[](#generate-a-portrait-image)

```
  vendor/bin/muffinizer --portrait
```

#### Generate a portrait image with a specific size

[](#generate-a-portrait-image-with-a-specific-size)

```
  vendor/bin/muffinizer --portrait --width 300
```

```
  vendor/bin/muffinizer --portrait --height 300
```

### Generate an image with width and height

[](#generate-an-image-with-width-and-height)

```
  vendor/bin/muffinizer --portrait --width 300 --height 300
```

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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

Total

4

Last Release

2749d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/30a9dae2aee580e835b4f60b16a1ac2cbc72cf6524a345cdae5a64e9c6ac75a6?d=identicon)[PedroTroller](/maintainers/PedroTroller)

---

Top Contributors

[![PedroTroller](https://avatars.githubusercontent.com/u/1766827?v=4)](https://github.com/PedroTroller "PedroTroller (6 commits)")

### Embed Badge

![Health badge](/badges/pedrotroller-image-muffin/health.svg)

```
[![Health](https://phpackages.com/badges/pedrotroller-image-muffin/health.svg)](https://phpackages.com/packages/pedrotroller-image-muffin)
```

###  Alternatives

[liip/imagine-bundle

This bundle provides an image manipulation abstraction toolkit for Symfony-based projects.

1.7k38.3M216](/packages/liip-imagine-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[media-alchemyst/media-alchemyst

An Object Oriented wrapper for easy multimedia conversion, based on Imagine, FFMpeg, SwfTools, Unoconv and other libs

65216.4k1](/packages/media-alchemyst-media-alchemyst)[ambroisemaupate/intervention-request

A customizable Intervention Image wrapper to use image simple re-sampling features over urls and a configurable cache.

4242.4k2](/packages/ambroisemaupate-intervention-request)[codebuds/webp-conversion-bundle

A Symfony bundle to generate WebPImages

124.1k](/packages/codebuds-webp-conversion-bundle)

PHPackages © 2026

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