PHPackages                             thereddot/swiftmailer-image-embed - 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. thereddot/swiftmailer-image-embed

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

thereddot/swiftmailer-image-embed
=================================

Swiftmailer plugin to automatically embed images into message

v2.1.4(5y ago)164.0k↑67.3%MITPHPPHP &gt;=7.1

Since Nov 19Pushed 5y ago2 watchersCompare

[ Source](https://github.com/TheRedDot/swiftmailer-image-embed)[ Packagist](https://packagist.org/packages/thereddot/swiftmailer-image-embed)[ Docs](https://github.com/TheRedDot/swiftmailer-image-embed)[ RSS](/packages/thereddot-swiftmailer-image-embed/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (11)Used By (0)

Swiftmailer Image Embed Plugin
==============================

[](#swiftmailer-image-embed-plugin)

**❗ This package is abandoned and no longer actively maintained.**

[![Total Downloads](https://camo.githubusercontent.com/2e77090c34c53793ceb9c4d50deece073c15673509eaff27c28c1df248ee6122/68747470733a2f2f706f7365722e707567782e6f72672f546865526564446f742f73776966746d61696c65722d696d6167652d656d6265642f646f776e6c6f6164732e706e67)](https://packagist.org/packages/TheRedDot/swiftmailer-image-embed) [![Latest Stable Version](https://camo.githubusercontent.com/d0ad5894db72e59907384923b10cf158f1006dbc9c0059d0b9746a8ca410910a/68747470733a2f2f706f7365722e707567782e6f72672f546865526564446f742f73776966746d61696c65722d696d6167652d656d6265642f762f737461626c652e706e67)](https://packagist.org/packages/TheRedDot/swiftmailer-image-embed)

Swiftmailer plugin to automatically embed images into message by using CID (Content-ID).

See  for more informations.

Example:

```

        some text

```

With the plugin the following email will be generated:

```

        some text

```

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

[](#installation)

```
composer require thereddot/swiftmailer-image-embed

```

Usage
-----

[](#usage)

```
use Hexanet\Swiftmailer\ImageEmbedPlugin;

$mailer = new Swift_Mailer($yourTransport);

$mailer->registerPlugin(new ImageEmbedPlugin());
```

or for symfony in your services.yaml:

```
Hexanet\Swiftmailer\ImageEmbedPlugin:
    arguments:
        - '%kernel.root_dir%/../web/'
    tags: [swiftmailer.default.plugin]
```

The arguments are optional.

Credits
-------

[](#credits)

Forked from [Hexanet/swiftmailer-image-embed](https://github.com/Hexanet/swiftmailer-image-embed).

License
-------

[](#license)

[Swiftmailer Image Embed Plugin](https://github.com/TheRedDot/swiftmailer-image-embed) is licensed under the [MIT license](LICENSE).

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 57.9% 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 ~213 days

Recently: every ~202 days

Total

10

Last Release

1914d ago

Major Versions

v1.0.0 → v2.0.02017-12-15

PHP version history (4 changes)v1.0.0PHP &gt;=5.4

v2.0.0PHP &gt;=7.0.0

v2.1.0PHP ^7.1

v2.1.4PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/ec8d36ad687b1fb727bc0f68e8dc16ae31448a24701b24142f95ccb4cbab77a9?d=identicon)[notFloran](/maintainers/notFloran)

![](https://www.gravatar.com/avatar/d6279ebb7587adee2473032e5edcb89023dfd654f41772dd91c1eab57fa08c11?d=identicon)[nclsHart](/maintainers/nclsHart)

---

Top Contributors

[![notFloran](https://avatars.githubusercontent.com/u/523981?v=4)](https://github.com/notFloran "notFloran (33 commits)")[![nclsHart](https://avatars.githubusercontent.com/u/833625?v=4)](https://github.com/nclsHart "nclsHart (20 commits)")[![n3o77](https://avatars.githubusercontent.com/u/321891?v=4)](https://github.com/n3o77 "n3o77 (3 commits)")[![kirkerafael](https://avatars.githubusercontent.com/u/467001?v=4)](https://github.com/kirkerafael "kirkerafael (1 commits)")

---

Tags

swiftmailerimageswiftmailer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/thereddot-swiftmailer-image-embed/health.svg)

```
[![Health](https://phpackages.com/badges/thereddot-swiftmailer-image-embed/health.svg)](https://phpackages.com/packages/thereddot-swiftmailer-image-embed)
```

###  Alternatives

[intervention/image

PHP Image Processing

14.3k194.3M2.2k](/packages/intervention-image)[league/glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k51.2M116](/packages/league-glide)[liip/imagine-bundle

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

1.7k38.3M217](/packages/liip-imagine-bundle)[spatie/image

Manipulate images with an expressive API

1.4k54.4M138](/packages/spatie-image)[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[intervention/gif

PHP GIF Encoder/Decoder

5720.3M9](/packages/intervention-gif)

PHPackages © 2026

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