PHPackages                             wakeasp-inc/opentbs-bundle - 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. wakeasp-inc/opentbs-bundle

ActiveSymfony-bundle[PDF &amp; Document Generation](/categories/documents)

wakeasp-inc/opentbs-bundle
==========================

OpenTBS Bundle for Symfony - create OpenOffice and Ms Office documents with Symfony

v3.13.1(3y ago)07.9k↓25%MITPHPPHP &gt;=5.3.0

Since Sep 13Pushed 3y agoCompare

[ Source](https://github.com/wakeasp-inc/OpenTBSBundle)[ Packagist](https://packagist.org/packages/wakeasp-inc/opentbs-bundle)[ Docs](https://github.com/mbence/OpenTBSBundle)[ RSS](/packages/wakeasp-inc-opentbs-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (5)Used By (0)

OpenTBSBundle for Symfony
=========================

[](#opentbsbundle-for-symfony)

This bundle is just a convenient way to use OpenTBS, all the credits go to Skrol29 and the TinyButStrong team.

OpenTBS - create OpenOffice and Ms Office documents with PHP (and Symfony)

Introduction
------------

[](#introduction)

(Taken from [http://www.tinybutstrong.com/plugins/opentbs/tbs\_plugin\_opentbs.html](http://www.tinybutstrong.com/plugins/opentbs/tbs_plugin_opentbs.html))

OpenTBS is a PHP tool to produce any OpenOffice and Ms Office documents with templates.

OpenTBS can merge any OpenDocument and Open XML files. It autommatically reconize extensions: odt, ods, odg, odf, odm, odp, ott, ots, otg, otp, docx, xlsx, pptx. In fact it can merge any XML or Text file saved in a zip container (which is the case for both OpenDocuments and OpenXML documents).

What is special to OpenTBS:

- Design your templates directly with OpenOffice or MS Office.
- No exe file needed to merge documents.
- No temporary files needed to merge documents.
- Output directly as an http download, a new file on the disk, or as a string (for file attachment for example).
- Works with both PHP 4 and PHP 5.

Versions included
-----------------

[](#versions-included)

TinyButStrong - 3.12.2

OpenTBS - 1.10.2

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

[](#requirements)

- Symfony2
- PHP needs to be a minimum version of PHP 5.3.2 (for Symfony2)
- It is better to have the [Zlib](http://www.php.net/manual/en/book.zlib.php) extension enabled on your PHP installation. If it's not, [here is what to do](http://www.tinybutstrong.com/plugins/opentbs/tbs_plugin_opentbs.html#zlib).

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

[](#installation)

### Setp 0: [Install Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)

[](#setp-0-install-composer)

### Step 1: Download the bundle using composer

[](#step-1-download-the-bundle-using-composer)

```
> composer require mbence/opentbs-bundle
```

Composer will install the bundle to your project's `vendor/mbence/opentbs-bundle` directory.

### Step 2: Enable the bundle in your AppKernel

[](#step-2-enable-the-bundle-in-your-appkernel)

```
