From a0ac8862ef0cea6a26c33ae9b08603878cc3c80b Mon Sep 17 00:00:00 2001 From: Pavel Dohnal Date: Fri, 24 Jan 2025 11:31:33 +0100 Subject: [PATCH] Install html2text to the email editor package [MAILPOET-6428] --- packages/php/email-editor/composer.json | 3 +- packages/php/email-editor/composer.lock | 64 +++++++++++++++++++++++-- 2 files changed, 62 insertions(+), 5 deletions(-) diff --git a/packages/php/email-editor/composer.json b/packages/php/email-editor/composer.json index c59392da81..ea9531d0de 100644 --- a/packages/php/email-editor/composer.json +++ b/packages/php/email-editor/composer.json @@ -16,7 +16,8 @@ ] }, "require": { - "php": ">=7.4" + "php": ">=7.4", + "soundasleep/html2text": "^2.1" }, "config": { "platform": { diff --git a/packages/php/email-editor/composer.lock b/packages/php/email-editor/composer.lock index 6706101f86..a5511845fd 100644 --- a/packages/php/email-editor/composer.lock +++ b/packages/php/email-editor/composer.lock @@ -4,18 +4,74 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "6f2d8c8e0bf39d9c6f33dc9e7d7538b8", - "packages": [], + "content-hash": "371847deda16bb5e4bcb84b00459bce6", + "packages": [ + { + "name": "soundasleep/html2text", + "version": "2.1.0", + "source": { + "type": "git", + "url": "https://github.com/soundasleep/html2text.git", + "reference": "83502b6f8f1aaef8e2e238897199d64f284b4af3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/soundasleep/html2text/zipball/83502b6f8f1aaef8e2e238897199d64f284b4af3", + "reference": "83502b6f8f1aaef8e2e238897199d64f284b4af3", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "php": "^7.3|^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.9", + "phpunit/phpunit": "^7.0|^8.0|^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Soundasleep\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jevon Wright", + "homepage": "https://jevon.org", + "role": "Developer" + } + ], + "description": "A PHP script to convert HTML into a plain text format", + "homepage": "https://github.com/soundasleep/html2text", + "keywords": [ + "email", + "html", + "php", + "text" + ], + "support": { + "email": "support@jevon.org", + "issues": "https://github.com/soundasleep/html2text/issues", + "source": "https://github.com/soundasleep/html2text/tree/2.1.0" + }, + "time": "2023-01-06T09:28:15+00:00" + } + ], "packages-dev": [], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { "php": ">=7.4" }, - "platform-dev": [], + "platform-dev": {}, "platform-overrides": { "php": "7.4.0" },