PHPackages                             dmamills/composite - 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. dmamills/composite

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

dmamills/composite
==================

wrapper for imagemagick composite command

015PHP

Since May 5Pushed 12y ago2 watchersCompare

[ Source](https://github.com/dmamills/composite)[ Packagist](https://packagist.org/packages/dmamills/composite)[ RSS](/packages/dmamills-composite/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Composite
=========

[](#composite)

A composer package that wraps the [Composite](http://www.imagemagick.org/script/composite.php) command. Composite is part of the image editing software [ImageMagick](http://www.imagemagick.org/index.php).

Usage
-----

[](#usage)

```

use Composite\Composite;

$composite = new Composite('base.png','overlay.png','result.png');
$composite->execute();

$resultFile = $composite.getResultFile();
$resultFile = $composite.getResultFile(true); //calls execute() before retrieving file

```

It also can take a fourth parameter to set command options

```
$composite = new Composite('base.png','overlay.png','result.png',array(
	'gravity'=>'southeast',
	'size'=>'512x512'
));

```

License
-------

[](#license)

MIT

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2381136?v=4)[dmamills](/maintainers/dmamills)[@dmamills](https://github.com/dmamills)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/dmamills-composite/health.svg)

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

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