PHPackages                             sboden/odtphp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. sboden/odtphp

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

sboden/odtphp
=============

ODT document generator (plugin replacement for cybermonde/odtphp)

3.2.1(10mo ago)319.1k↓51.6%1GPL-3.0-onlyPHPPHP &gt;=8.1

Since Nov 3Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/sboden/odtphp)[ Packagist](https://packagist.org/packages/sboden/odtphp)[ Docs](https://github.com/sboden/odtphp)[ RSS](/packages/sboden-odtphp/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (7)Dependencies (5)Versions (15)Used By (0)

ODTPHP
======

[](#odtphp)

A PHP library for creating and manipulating ODT (OpenDocument Text) files.

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- PHP ZIP Extension or PclZip library. PHP ZIP Extension is recommended as we will probably remove the PclZip library sometime in the future.

Installation
------------

[](#installation)

Install via Composer:

```
composer require sboden/odtphp:^3
```

Basic Usage
-----------

[](#basic-usage)

### Simple Variable Substitution

[](#simple-variable-substitution)

```
