PHP Classes

PHP Document Generator: Convert HTML to MS Word and Excel and CSV files

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 300 All time: 7,403 This week: 358Up
Version License PHP version Categories
php-document-generat 1.0.0GNU General Publi...5PHP 5, Files and Folders


This class can convert HTML to MS Word and Excel and CSV files.

It can take HTML as a string or a file and generates another file with the right filename extensions so it can be opened in Microsoft Word or Excel applications.

The class can also take a bi-dimensional array and creates a CSV file the array data values.

Picture of Clement Sam
  Performance   Level  
Name: Clement Sam is available for providing paid consulting. Contact Clement Sam .
Classes: 4 packages by
Country: Ghana Ghana
Age: 25
All time rank: 29472 in Ghana Ghana
Week rank: 405 Up3 in Ghana Ghana Down
Innovation award
Innovation award
Nominee: 1x


Generate MSWord document
I want to generate an MS Word document from PHP


include '../ewc_generator.class.php';



  Files folder image Files  
File Role Description
Files folder imageExamples (5 files)
Plain text file ewc_generator.class.php Class Class source

  Files folder image Files  /  Examples  
File Role Description
  Accessible without login Plain text file direct_methods.php Example Example script
  Accessible without login Plain text file index.php Aux. Auxiliary script
  Accessible without login Plain text file submit.php Example Example script
  Accessible without login HTML file test.html Doc. Documentation
  Accessible without login Plain text file using_the_create_function.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,403
This week:358Up
User Comments (1)
4 years ago (Ebenezer Ackahbi)