Skip to content

PHP Library for simply extracting text from Word documents. No formatting provided.

License

Notifications You must be signed in to change notification settings

kotsis/phpword2text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpword2text

PHP Library for simply extracting text from Word documents. No formatting provided.

Usage

First you need to have composer installed.

foo@bar:~$ composer require kmak/phpword2text

Then in your code you can do the following:

<?php
require __DIR__ . '/vendor/autoload.php';

$phpword = new PHPWord2Text();
$txt = $phpword->extractText('somefile.docx');
echo $txt;

About

PHP Library for simply extracting text from Word documents. No formatting provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages