PHP Package: symfony/mime

Symfony MIME is a PHP library for handling MIME types, encoding, and decoding. It provides useful tools for working with emails, attachments, and content types, enhancing your application's email capabilities.

Current Version: 7.3.0
Last Updated: 2025-05-29
PHP Requirement: >=8.2
Dependencies:
symfony/polyfill-mbstring
symfony/polyfill-php80
symfony/service-contracts
php-fig/log
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Symfony MIME is a powerful PHP library designed to streamline your email handling processes. With comprehensive support for MIME types, encoding, and decoding, this library simplifies email attachment management and content type manipulation. Whether you're building an email client or integrating email functionality into your application, Symfony MIME offers a robust solution.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 7.3.0

Download Download v7.3.0

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/symfony/mime/7.3.0/loader.php';
require_once 'libs/symfony/polyfill-mbstring/1.32.0/loader.php';
require_once 'libs/symfony/polyfill-php80/1.32.0/loader.php';
require_once 'libs/symfony/service-contracts/2.2.0/loader.php';
require_once 'libs/php-fig/log/3.0.2/loader.php';

use Symfony\Component\Mime\Address;
use Symfony\Component\Mime\Email;
use Symfony\Component\Mime\Header\Headers;

$obj = new Address();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.