PHPWord is a library written in pure PHP that provides a set of classes to write to and read from different document file formats. The current version of PHPWord supports Microsoft Office Open XML (OOXML or OpenXML), OASIS Open Document Format for Office Applications (OpenDocument or ODF), and Rich Text Format (RTF). PHPWord is an open source project licensed under the terms of LGPL version 3. PHPWord is aimed to be a high quality software product by incorporating continuous integration and unit testing. Set document properties, e.g. title, subject, and creator. Create document sections with different settings, e.g. portrait/landscape, page size, and page numbering. Create header and footer for each sections, set default font type, font size, and paragraph style. Use UTF-8 and East Asia fonts/characters. Define custom font styles (e.g. bold, italic, color) and paragraph styles (e.g. centered, multicolumns, spacing) either as named style or inline in text.

Features

  • Insert titles (headers) and table of contents
  • Insert text breaks and page breaks
  • Insert right-to-left text
  • Insert and format images, either local, remote, or as page watermarks
  • Insert binary OLE Objects such as Excel or Visio
  • Insert list items as bulleted, numbered, or multilevel

Project Samples

Project Activity

See All Activity >

License

GNU Free Documentation License

Follow PHPWord

PHPWord Web Site

Other Useful Business Software
Outgrown Windows Task Scheduler? Icon
Outgrown Windows Task Scheduler?

Free diagnostic identifies where your workflow is breaking down—with instant analysis of your scheduling environment.

Windows Task Scheduler wasn't built for complex, cross-platform automation. Get a free diagnostic that shows exactly where things are failing and provides remediation recommendations. Interactive HTML report delivered in minutes.
Download Free Tool
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PHPWord!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Word Processors, PHP Libraries

Registered

2021-09-27