soundasleep / html2text

A PHP component to convert HTML into a plain text format
MIT License
475 stars 135 forks source link

Minimal version of PHP ? #71

Closed ttoine closed 5 years ago

ttoine commented 5 years ago

Hello, there is no clear information on this repository, nor a link to a doc, that tells what is the minimum version of PHP to run the current version of html2text library.

With PHP releases moving very fast now, this is becoming a very important information. Projects using PHP dependencies must currently handle many libraries dropping PHP 5.x and early PHP 7.x (at least, 7.0). This would be very helpful to share information about this topic for html2text.

(BTW: thanks for the move to MIT ;-) )

soundasleep commented 5 years ago

Hello! It's actually specified in the composer.json, as PHP >= 7.0 :)

Do you think there is a better place for this information to live?