2017 © Pedro Peláez
 

library docx-to-html

composer integration of xylude/Docx-to-HTML

image

nadirhamid/docx-to-html

composer integration of xylude/Docx-to-HTML

  • Tuesday, November 7, 2017
  • by infinitet3ch
  • Repository
  • 1 Watchers
  • 1 Stars
  • 82 Installations
  • HTML
  • 1 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 2 Versions
  • 356 % Grown

The README.md

Docx-to-HTML

Converts .docx files to HTML, (*1)

This is a PHP class that will convert your .docx files to HTML. It is by far not perfect, but will handle most things decently., (*2)

This class requires the following:, (*3)

Composer install

composer require nadirhamid/docx-to-html

How to use

include('./docx_reader.php');

$doc = new Docx_reader();
$doc->setFile('./sample.docx');

if(!$doc->get_errors()) {
    $html = $doc->to_html();
    $plain_text = $doc->to_plain_text();

    echo $html;
} else {
    echo implode(', ',$doc->get_errors());
}
echo "\n";

The Versions

07/11 2017

dev-master

9999999-dev https://github.com/nadirhamid/Docx-to-HTML

composer integration of xylude/Docx-to-HTML

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

html docx

07/11 2017

v0.0.1

0.0.1.0 https://github.com/nadirhamid/Docx-to-HTML

composer integration of xylude/Docx-to-HTML

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

html docx