PHPRtfLite is a RTF (Rich-Text-Format) writer written in PHP.
RTF specification was defined by Microsoft(c). There are many text editors, that can interpret rtf code, but as it is specified by Microsoft Microsoft Word is (afaik) the only one with full support. For example OpenOffice.org Writer does not support nested tables.
The samples files (provided in the release) were tested:
The project home is on sourceforge.net: https://sourceforge.net/projects/phprtf
PHPRtfLite requires a minimum of PHP 5.0.
When working with character sets different than UTF-8, the iconv extension needs to be activated.
To use PHPRtfLite use can download the sources from sourceforge.net or use the svn repository.
Installation via SVN repository:
PHPRtfLite 1.1 Branch
$ svn co https://phprtf.svn.sourceforge.net/svnroot/phprtf/branches/1.1
PHPRtfLite Trunk
$ svn co https://phprtf.svn.sourceforge.net/svnroot/phprtf/trunk
This is the PHPRftLite documentation. It shows how to use PHPRtfLite and gives a quick overview about the main concepts. Note, that not every functionality is documentated in full details. Please refer to the source code.