PHPackages                             qualityunit/tnef-decoder - 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. qualityunit/tnef-decoder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

qualityunit/tnef-decoder
========================

TNEF Decoder library extracted from squirell mail plugin to decode winmail.dat file in email attachment

1.2.9(2y ago)161.6M—4.7%5GPL-2.0-or-laterPHPPHP &gt;=7.0CI passing

Since Jul 1Pushed 1y ago12 watchersCompare

[ Source](https://github.com/QualityUnit/TNEFDecoder)[ Packagist](https://packagist.org/packages/qualityunit/tnef-decoder)[ Docs](https://github.com/QualityUnit/TNEFDecoder)[ RSS](/packages/qualityunit-tnef-decoder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (17)Used By (0)

TNEFDecoder
===========

[](#tnefdecoder)

Simple PHP library to decode TNEF files (winmail.dat).

It is based on [SquirellMail plugin](https://squirrelmail.org/plugin_view.php?id=62)

\#Requirements:

- PHP &gt;= 7.0
- PHP-mbstring extension

\#Usage Include via composer:

```
composer require qualityunit/tnef-decoder

```

Create object to parse attachment file

```
$attachment = new TNEFAttachment();

```

Parse string with attachment file and receive array of extracted file objects.

```
$attachment->decodeTnef($buffer);
$files = $attachment->getFiles();

```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 82.5% 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 ~118 days

Recently: every ~44 days

Total

15

Last Release

860d ago

### Community

Maintainers

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

---

Top Contributors

[![martincivan](https://avatars.githubusercontent.com/u/11668308?v=4)](https://github.com/martincivan "martincivan (33 commits)")[![jperdochqu](https://avatars.githubusercontent.com/u/6471280?v=4)](https://github.com/jperdochqu "jperdochqu (6 commits)")[![vzeman](https://avatars.githubusercontent.com/u/6470030?v=4)](https://github.com/vzeman "vzeman (1 commits)")

---

Tags

tnef decoderwinmail.dat

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/qualityunit-tnef-decoder/health.svg)

```
[![Health](https://phpackages.com/badges/qualityunit-tnef-decoder/health.svg)](https://phpackages.com/packages/qualityunit-tnef-decoder)
```

###  Alternatives

[jpmurray/laravel-countdown

Provide an easy class easy way to get the time difference between two dates, with an extra bonus trait for eloquent

833.8k](/packages/jpmurray-laravel-countdown)

PHPackages © 2026

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