Download the PHP package phpoffice/phpword without Composer

On this page you can find all versions of the php package phpoffice/phpword. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?
Rate from 1 - 5
Rated 4.55 based on 11 reviews

All versions of phpword with dependencies

Informations about the package phpword


Master: Latest Stable Version Build Status Code Quality Coverage Status Total Downloads License Join the chat at

Develop: Latest Development Version Build Status Code Quality Coverage Status

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), Rich Text Format (RTF), HTML, and PDF.

PHPWord is an open source project licensed under the terms of Developers' Documentation.

If you have any questions, please ask on StackOverFlow

Read more about PHPWord:


With PHPWord, you can create OOXML, ODF, or RTF documents dynamically using your PHP 5.3.3+ scripts. Below are some of the things that you can do with PHPWord library:


PHPWord requires the following:


PHPWord is installed via Composer. To add a dependency to PHPWord in your project, either

Run the following to use the latest stable version

or if you want the latest master version

You can of course also manually edit your composer.json file

Getting started

The following is a basic usage example of the PHPWord library.

More examples are provided in the http://localhost:8000 to view the samples. You can also read the Developers' Documentation for more detail.


We welcome everyone to contribute to PHPWord. Below are some of the things that you can do to contribute.

Requires php Version ^5.3.3 || ^7.0 || ^8.0
ext-xml Version *
laminas/laminas-escaper Version ^2.2

The package phpoffice/phpword contains the following files

Loading the files please wait ....