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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 82 All time: 10,065 This week: 488Up
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: 46 packages by
Country: United Kingdom
Age: 33
All time rank: 37716 in United Kingdom
Week rank: 22 Up1 in United Kingdom Up
Innovation award
Innovation award
Nominee: 17x

Winner: 3x

  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:82
This week:0
All time:10,065
This week:488Up
User Comments (1)
Suitable for beer
1 year ago (pataskun)
35%StarStar