Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Html2Text Laravel Package

soundasleep/html2text

Convert HTML to readable plain text in PHP. soundasleep/html2text extracts meaningful content from messy markup, handling links, lists, tables and whitespace with configurable formatting—ideal for emails, scraping, logs and text-only previews.

View on GitHub
Deep Wiki
Context7
1.1.0

Added

  • Zero-width non-joiners are now stripped to prevent output issues, similar to non-breaking whitespace

Fixed

  • Fix namespace in composer #67
1.0.0

Added

  • Added drop_links option to render links without the target href #65

Changed

  • Important: Changed namespace from \Html2Text\Html2Text to \Soundasleep\Html2text #45
  • Treat non-breaking spaces consistently: never include them in output text #64
  • Second argument to convert() is now an array, rather than boolean #65
  • Optimise/improve newline & whitespace handling #47
  • Upgrade PHP support to PHP 7.3+
  • Upgrade PHPUnit to 7.x
  • Re-release project under MIT license #58
0.5.0

Added

  • Add ignore_error optional argument #63
  • Blockquote support #50
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator