PHPackages                             ossinkine/swiftmailer-punycode-plugin - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ossinkine/swiftmailer-punycode-plugin

Abandoned → [swiftmailer/swiftmailer:^6.1](/?search=swiftmailer%2Fswiftmailer%3A%5E6.1)Library[Utility &amp; Helpers](/categories/utility)

ossinkine/swiftmailer-punycode-plugin
=====================================

Swiftmailer plugin to convert domain in email addresses to punycode

v1.0.0(8y ago)51.5kMITPHPPHP ^7.0

Since Jan 18Pushed 7y ago2 watchersCompare

[ Source](https://github.com/ossinkine/swiftmailer-punycode-plugin)[ Packagist](https://packagist.org/packages/ossinkine/swiftmailer-punycode-plugin)[ RSS](/packages/ossinkine-swiftmailer-punycode-plugin/feed)WikiDiscussions master Synced 2w ago

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

Swiftmailer Punycode Plugin
===========================

[](#swiftmailer-punycode-plugin)

[![Build Status](https://camo.githubusercontent.com/44143fdcb4d8dbc43db0862cef70a93562493cc1460b94e840d8574729bffa2a/68747470733a2f2f7472617669732d63692e6f72672f6f7373696e6b696e652f73776966746d61696c65722d70756e79636f64652d706c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ossinkine/swiftmailer-punycode-plugin)

Swiftmailer plugin to convert domain in email addresses to punycode.

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

[](#installation)

```
composer require ossinkine/swiftmailer-punycode-plugin
```

Usage
-----

[](#usage)

Create and register a plugin instance when you setup a `Swift_Mailer` instance.

```
use Ossinkine\Swift\Plugin\PunycodePlugin;

// Create the Mailer using any Transport
$mailer = new Swift_Mailer(
  new Swift_SmtpTransport('smtp.example.org', 25)
);

// Register the plugin
$mailer->registerPlugin(new PunycodePlugin());
```

Now you can send an email to an address with Unicode-encoded domain.

```
// Create a message with Unicode-encoded receiver address
$message = (new Swift_Message())
  ->setTo(['receiver@bücher.tld'])
;
// Send the message
$mailer->send($message);
```

Usage with Symfony
------------------

[](#usage-with-symfony)

Just register a service with a `swiftmailer.default.plugin` tag in your `services.yml`.

```
Ossinkine\Swift\Plugin\PunycodePlugin:
    tags: [swiftmailer.default.plugin]
```

License
-------

[](#license)

[Swiftmailer Punycode Plugin](https://github.com/ossinkine/swiftmailer-punycode-plugin) is licensed under the [MIT license](LICENSE).

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3085d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2588533?v=4)[Gocha Ossinkine](/maintainers/ossinkine)[@ossinkine](https://github.com/ossinkine)

---

Top Contributors

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

---

Tags

punycodeswiftmailerswiftmailer-pluginpunycodeswiftmailerswiftmailer-plugin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ossinkine-swiftmailer-punycode-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/ossinkine-swiftmailer-punycode-plugin/health.svg)](https://phpackages.com/packages/ossinkine-swiftmailer-punycode-plugin)
```

###  Alternatives

[opis/uri

Build, parse and validate URIs and URI-templates

1924.4M7](/packages/opis-uri)[mremi/contact-bundle

Implementation of a contact form for Symfony2

2712.4k2](/packages/mremi-contact-bundle)

PHPackages © 2026

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