# symfony/mime

Allows manipulating MIME messages

Repository: https://github.com/symfony/mime
Canonical: https://ross.abutalabs.com/products/mime
Homepage: https://symfony.com/mime
Language: PHP
License: MIT
License Family: permissive
Topics: php, symfony, mime, component, symfony-component, mime-type
Last push: 2026-08-23T07:56:26+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 2785, "days_push": 10, "days_rel": 11, "gap_med": 0.0, "n_releases_24m": 65}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2827, forks 38 (observed 2026-08-28T04:07:24.213732+00:00)

## What it is
Symfony MIME is a PHP component for creating and manipulating MIME messages, including email construction with headers, attachments, and multipart content. It underpins Symfony's Mailer component and is widely used across major PHP projects.

## Use cases
- compose emails with attachments in php
- build multipart mime messages
- parse and manipulate mime message headers
- create html and plain text email bodies
- detect mime types of files
- embed images in emails

## When to choose
- you need standards-compliant email message construction in PHP
- you use Symfony Mailer or Laravel and need the underlying message layer
- you need low-level control over MIME parts, headers, and attachments

## When to avoid
- you only need to send emails and prefer a higher-level mailer API
- you are not working in PHP
- you need a full email client or SMTP server

## Facets
- artifact type: library
- maturity: stable
- function: email, serialization
- domain: email, backend, web-development
- platform: php
- tags: mime, symfony-component, email-messages, attachments

## Member repositories
- symfony/mime (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:24.213732+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:38:13.144402+00:00, confidence not recorded.
  - readme: https://github.com/symfony/mime (fetched 2026-08-28T04:07:24.213732+00:00, sha ef981a132f5d)
  - homepage: https://symfony.com/mime (fetched 2026-08-29T09:53:32.141693+00:00, sha 3560100e1504)
  - site_page: https://symfony.com/doc (fetched 2026-08-29T09:53:32.150546+00:00, sha 44889134f4fb)
  - site_page: https://symfony.com/doc/current/components/mime.html (fetched 2026-08-29T09:53:32.152554+00:00, sha 2daeb983ff8c)
  - site_page: https://symfony.com/releases (fetched 2026-08-29T09:53:32.155928+00:00, sha 2fd410222cfe)
  - site_page: https://symfony.com/blog/category/releases (fetched 2026-08-29T09:53:32.157752+00:00, sha 83b70dd163fb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
