PHPackages                             awakenweb/livedocx - 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. awakenweb/livedocx

Abandoned → [textcontrol/txtextcontrol-reportingcloud](/?search=textcontrol%2Ftxtextcontrol-reportingcloud)ArchivedLibrary[PDF &amp; Document Generation](/categories/documents)

awakenweb/livedocx
==================

Livedocx webservice PHP API for PDF generation without using Zend Framework

1.0.2(11y ago)72581MITPHPPHP &gt;=5.4.0

Since May 15Pushed 9y ago1 watchersCompare

[ Source](https://github.com/awakenweb/livedocx)[ Packagist](https://packagist.org/packages/awakenweb/livedocx)[ Docs](http://github.com/awakenweb/livedocx)[ RSS](/packages/awakenweb-livedocx/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (2)Versions (7)Used By (1)

[![Build Status](https://camo.githubusercontent.com/94eba589c8cf0c62c577bca89b96658d24902c6c300b8719346b80068c1b2b23/68747470733a2f2f7472617669732d63692e6f72672f6177616b656e7765622f6c697665646f63782e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/awakenweb/livedocx)[![Packagist](https://camo.githubusercontent.com/b146ac99015dad3af4f0ac8147d0afae497c67765622efbe44574e7e84b7f1c7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6177616b656e7765622f6c697665646f63782e737667)](https://packagist.org/packages/awakenweb/livedocx)

[![SensioLabsInsight](https://camo.githubusercontent.com/09cc41aabe1a96c26d0682ec168d1bd49d321aff441f9ad0613de12a275de25a/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f37313031396363342d633561622d343165622d383461652d6664363935643363366462382f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/71019cc4-c5ab-41eb-84ae-fd695d3c6db8)

This package is not maintained anymore.
=======================================

[](#this-package-is-not-maintained-anymore)

The Livedocxs service will shut down on Septembre 30th 2017.
------------------------------------------------------------

[](#the-livedocxs-service-will-shut-down-on-septembre-30th-2017)

Use  instead
-----------------------------------------------------------------------------

[](#use-httpsgithubcomtextcontroltxtextcontrol-reportingcloud-php-instead)

Livedocx
========

[](#livedocx)

Generate PDF and other document types using the Livedocx webservice in PHP.

You can now check the [complete documentation](http://awakenweb.github.io/livedocx/)

Why this package?
-----------------

[](#why-this-package)

You may know a [Livedocx package](https://github.com/zendframework/ZendService_LiveDocx) already exists, so why did I bother reinvent the wheel?

The existing Livedocx package is tightly bound to Zend Framework components and requires a lot of dependencies. Requiring nearly half a framework to only use a single library felt like pure overkill to me.

I developped this Livedocx client with two point in mind:

- just the strict necessary dependencies
- an object oriented API

Hope you will find it useful.

This package is unit tested with [Atoum](https://github.com/atoum/atoum)

Prerequisites
-------------

[](#prerequisites)

This package requires:

- PHP 5.4+
- ext-soap
- ext-openssl \*

\**(Livedocx is [unaffected by Heartbleed security leak](https://filippo.io/Heartbleed/#api.livedocx.com))*

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

[](#installation)

To install this package using [Composer](https://getcomposer.org/), simply add this to you `composer.json` file

```
 "require" : {
    "awakenweb/livedocx" : "dev-master"
 }
```

Available framework integration packages:

- Laravel 4: [awakenweb/Livedocx4Laravel](https://github.com/awakenweb/livedocx4laravel)

What parts of the Livedocx API are covered by this package?
-----------------------------------------------------------

[](#what-parts-of-the-livedocx-api-are-covered-by-this-package)

This package provides support for the following API:

- Document merging
- Repeated blocks merging
- Images merging
- Bitmap exports
- Metafiles
- Subtemplates

As there is really few documentation about the shared documents feature, I did not add support for now. I may add it when I find some doc about how to use it properly.

Use
---

[](#use)

First, a [Livedocx](http://www.livedocx.com/) account is required. It may be any account type: free, premium, or fully licenced.

The full documentation is in progress and should arrive shortly. For now, here is a simple example of usage. For more informations, take a look at the code.

```
