Download the PHP package erseco/mime-mail-parser without Composer

On this page you can find all versions of the php package erseco/mime-mail-parser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mime-mail-parser

Mime Mail Parser for PHP
Simple, fast, no extensions required

Features | Installation | Credits | Changelog

Packagist Packagist PHP from Packagist Tests Codecov License

Features

Mime Mail Parser has a very simple API to parse emails and their MIME contents. Unlike many other parsers out there, this package does not require the mailparse PHP extension.

The parser intentionally favours practical compatibility with real-world email while keeping bounded resource usage. It does not claim full RFC 5322 conformance.

Standards support

Standard / feature Support
RFC 5322 message headers and body Partial, practical parsing
RFC 2045 MIME structure and transfer encodings Supported for common multipart, base64, and quoted-printable messages
RFC 2047 encoded header words Supported
RFC 2231 extended and continued parameters Supported
Charset conversion for text parts Supported when conversion is available, with built-in ISO-8859-1 and Windows-1252 fallbacks
Nested multipart messages Supported with configurable depth and part limits
Malformed real-world MIME input Best-effort compatibility with explicit safety limits

Get Started

Requirements

Installation

To install the package via composer, Run:

Namespace

The canonical API uses the package namespace:

Legacy class names such as Erseco\Message, Erseco\MessagePart, and Erseco\ParserOptions remain available as compatibility aliases. They are provided for backwards compatibility only; new code should use the canonical namespace.

Usage

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of mime-mail-parser with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package erseco/mime-mail-parser contains the following files

Loading the files please wait ...