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

Abandoned → [thereddot/swiftmailer-image-embed](/?search=thereddot%2Fswiftmailer-image-embed)ArchivedLibrary[Image &amp; Media](/categories/media)

hexanet/swiftmailer-image-embed
===============================

Swiftmailer plugin to automatically embed images into message

v2.1.1(7y ago)612.5k↓66.7%8[1 issues](https://github.com/Hexanet/swiftmailer-image-embed/issues)MITPHPPHP ^7.1

Since Nov 19Pushed 7y ago6 watchersCompare

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

READMEChangelog (7)Dependencies (2)Versions (8)Used By (0)

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

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

[![Build Status](https://camo.githubusercontent.com/307dfc66d93c6cbeef2bc361fa9ff49a135fd5f485295ad575fceca0719b25ce/68747470733a2f2f7472617669732d63692e6f72672f486578616e65742f73776966746d61696c65722d696d6167652d656d6265642e737667)](https://travis-ci.org/Hexanet/swiftmailer-image-embed) [![Total Downloads](https://camo.githubusercontent.com/d0eef64f9e8ee005524baee7983326b07e163e460025f5ca08eee386110094b6/68747470733a2f2f706f7365722e707567782e6f72672f686578616e65742f73776966746d61696c65722d696d6167652d656d6265642f646f776e6c6f6164732e706e67)](https://packagist.org/packages/hexanet/swiftmailer-image-embed) [![Latest Stable Version](https://camo.githubusercontent.com/41d7637f5c51bf74d634098d07c63c4ff885626f1fe6ab9575243efeee788819/68747470733a2f2f706f7365722e707567782e6f72672f686578616e65742f73776966746d61696c65722d696d6167652d656d6265642f762f737461626c652e706e67)](https://packagist.org/packages/hexanet/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 hexanet/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)

Developed by [Hexanet](https://www.hexanet.fr/).

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~52 days

Total

7

Last Release

2684d ago

Major Versions

v1.0.0 → v2.0.02017-12-15

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

v2.0.0PHP &gt;=7.0.0

v2.1.0PHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/d769d5e2e072a9119e49d0e12841d37fcd53913e18271b87f10959daccc302a8?d=identicon)[martin-damien](/maintainers/martin-damien)

![](https://www.gravatar.com/avatar/7c6e41db5dc7149e2786d602be8ced473d1d41cbbbbf54fb1f5cf61555980e3b?d=identicon)[alioguz](/maintainers/alioguz)

---

Top Contributors

[![nclsHart](https://avatars.githubusercontent.com/u/833625?v=4)](https://github.com/nclsHart "nclsHart (19 commits)")[![notFloran](https://avatars.githubusercontent.com/u/523981?v=4)](https://github.com/notFloran "notFloran (17 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

swiftmailer-pluginimageswiftmailer

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/hexanet-swiftmailer-image-embed/health.svg)](https://phpackages.com/packages/hexanet-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)
