PHPackages                             8ctopus/quoted-printable - 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. 8ctopus/quoted-printable

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

8ctopus/quoted-printable
========================

Detect quoted printable encoding

0.1.6(5mo ago)09MITPHPPHP &gt;=7.4CI passing

Since May 23Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/8ctopus/quoted-printable)[ Packagist](https://packagist.org/packages/8ctopus/quoted-printable)[ Docs](https://github.com/8ctopus/quoted-printable)[ RSS](/packages/8ctopus-quoted-printable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (8)Used By (0)

quoted printable
================

[](#quoted-printable)

[![packagist](https://camo.githubusercontent.com/d6a7ce6f0ed448cadb454632347da7a1ba992fa976cf722b54087821f05cbf2a/68747470733a2f2f706f7365722e707567782e6f72672f3863746f7075732f71756f7465642d7072696e7461626c652f76)](https://packagist.org/packages/8ctopus/quoted-printable)[![downloads](https://camo.githubusercontent.com/0c3590a4924bbcebd93acaedfec458380ce497e7e50cfaa730cd840095c59154/68747470733a2f2f706f7365722e707567782e6f72672f3863746f7075732f71756f7465642d7072696e7461626c652f646f776e6c6f616473)](https://packagist.org/packages/8ctopus/quoted-printable)[![min php version](https://camo.githubusercontent.com/c340a775cb7cd8461d50644eb7c3ebe76fef16c5b57761589025d55a517b4f3d/68747470733a2f2f706f7365722e707567782e6f72672f3863746f7075732f71756f7465642d7072696e7461626c652f726571756972652f706870)](https://packagist.org/packages/8ctopus/quoted-printable)[![license](https://camo.githubusercontent.com/0465d6877dee8034fdcb75df1487827c30b122b05937b8eeb512819a1bda821c/68747470733a2f2f706f7365722e707567782e6f72672f3863746f7075732f71756f7465642d7072696e7461626c652f6c6963656e7365)](https://packagist.org/packages/8ctopus/quoted-printable)[![tests](https://github.com/8ctopus/quoted-printable/actions/workflows/tests.yml/badge.svg)](https://github.com/8ctopus/quoted-printable/actions/workflows/tests.yml)[![code coverage badge](https://raw.githubusercontent.com/8ctopus/quoted-printable/image-data/coverage.svg)](https://raw.githubusercontent.com/8ctopus/quoted-printable/image-data/coverage.svg)[![lines of code](https://raw.githubusercontent.com/8ctopus/quoted-printable/image-data/lines.svg)](https://raw.githubusercontent.com/8ctopus/quoted-printable/image-data/lines.svg)

Check if a text is quoted printable encoded

```
https://datatracker.ietf.org/doc/html/rfc2045#section-6.7

```

*Disclaimer*: While I've tried my best to implement the RFC, I cannot guarantee this library is bug free.

install
-------

[](#install)

```
composer require 8ctopus/quoted-printable

```

demo
----

[](#demo)

```
use Oct8pus\QuotedPrintable;

require_once __DIR__ . '/vendor/autoload.php';

$text = validateNoExceptions($text) ? 'valid quoted printable' : 'invalid quoted printable') . PHP_EOL;
```

Alternatively you can use the exception variant

```
use Oct8pus\QuotedPrintable;
use Oct8pus\QuotedPrintableException;

require_once __DIR__ . '/vendor/autoload.php';

$text = validate($text);
    echo 'valid quoted printable' . PHP_EOL;
} catch (QuotedPrintableException $exception) {
    echo 'invalid quoted printable' . PHP_EOL;
}
```

clean code
----------

[](#clean-code)

```
composer fix(-risky)

```

phpstan
-------

[](#phpstan)

```
composer phpstan

```

phpmd
-----

[](#phpmd)

```
composer phpmd

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance71

Regular maintenance activity

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

Every ~153 days

Recently: every ~229 days

Total

7

Last Release

164d ago

PHP version history (2 changes)0.1.0PHP &gt;=8.0

0.1.1PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/4dafd5f7ef8134a5c9b231686c5da3d6416db09139b45aac0b26952178dffb8a?d=identicon)[8ctopus](/maintainers/8ctopus)

---

Top Contributors

[![8ctopus](https://avatars.githubusercontent.com/u/13252042?v=4)](https://github.com/8ctopus "8ctopus (37 commits)")

---

Tags

encodingquoted-printable

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/8ctopus-quoted-printable/health.svg)

```
[![Health](https://phpackages.com/badges/8ctopus-quoted-printable/health.svg)](https://phpackages.com/packages/8ctopus-quoted-printable)
```

###  Alternatives

[paragonie/constant_time_encoding

Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)

901329.7M148](/packages/paragonie-constant-time-encoding)[paquettg/string-encode

Facilitating the process of altering string encoding in PHP.

698.7M43](/packages/paquettg-string-encode)[onnov/detect-encoding

Text encoding definition class instead of mb\_detect\_encoding. Defines: utf-8, windows-1251, koi8-r, iso-8859-5, ibm866, .....

223.8M8](/packages/onnov-detect-encoding)[jawira/plantuml-encoding

PlantUML encoding functions

20561.9k9](/packages/jawira-plantuml-encoding)[ddeboer/transcoder

Better encoding conversion for PHP

16705.6k10](/packages/ddeboer-transcoder)[delight-im/base64

Simple and convenient Base64 encoding and decoding for PHP

15158.1k6](/packages/delight-im-base64)

PHPackages © 2026

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