PHPtoWord is a project mainly written in PHP, it's free.
PHP class which outputs a Word file
PHPtoWord Alpha version - - August 20, 2011
Description: The purpose of this class is to assist in outputting a Word document.
Trying to create an html page that will output to Word is time consuming and solutions, as well as information on the web, is currently very limited. This class consists of functions which make the file creation much more simple.
//Hello World example //helloworld.php
Available Functions: open(), paragraph(), lineBreak(), pageBreak(), header(), footer(), setFont(), image(), table(), writeFile(), bulletedList()...
Future Project Plans: