PHP Classes

PHP HTML to Text: Convert HTML string to text from the HTML document

Recommend this page to a friend!
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-08-14 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 64 All time: 10,130 This week: 151Up
Version License PHP version Categories
html-to-text 1.0GNU General Publi...5HTML, PHP 5, Text processing
Description Author

This class can convert HTML string to text from the HTML document.

It can take a text string of a HTML document and parses it using the PHP DOM extension.

Then the class extracts the text from the DOM document object to return a string that shows the text from the original HTML document.

Picture of Pierre-Henry Soria
  Performance   Level  
Name: Pierre-Henry Soria <contact>
Classes: 31 packages by
Country: United Kingdom
Age: 31
All time rank: 41820 in United Kingdom
Week rank: 1 Up
Innovation award
Innovation award
Nominee: 11x

  Files folder image Files  
File Role Description
Files folder image.github (1 file, 1 directory)
Files folder imagemedia (1 file)
Files folder imagesrc (1 file)
Files folder imagetests (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE.md Lic. License text
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  .github  
File Role Description
Files folder imageworkflows (1 file)
  Accessible without login Plain text file FUNDING.yml Data Auxiliary data

  Files folder image Files  /  .github  /  workflows  
File Role Description
  Accessible without login Plain text file test.yml Data Auxiliary data

  Files folder image Files  /  media  
File Role Description
  Accessible without login Image file kofi-logo.png Icon Icon image

  Files folder image Files  /  src  
File Role Description
  Plain text file Convert.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Plain text file ConvertTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:64
This week:0
All time:10,130
This week:151Up
User Comments (1)
Suitable for beer
1 month ago (pataskun)
35%StarStar
 
For more information send a message to info at phpclasses dot org.