jmd/unoconv-bundle

This package is abandoned and no longer maintained. The author suggests using the mops1k/unoserver-client package instead.

This bundle allows you to convert files through unoconv (LibreOffice)

Installs: 5 330

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 1

Open Issues: 0

Type:symfony-bundle

v1.0.2 2016-05-17 10:37 UTC

This package is auto-updated.

Last update: 2024-07-05 22:45:24 UTC


README

JMDUnoconvBundle

This bundle provide gateway near php-unoconv/php-unoconv and symfony 2.

Installation

composer require jmd/unoconv-bundle
// app/AppKernel.php
$bundles = array(
            ...
            new JMD\UnoconvBundle\JMDUnoconvBundle(),
            ...
        );

Configuration

jmd_unoconv:
    config:
        timeout: 42
        binaries: /usr/bin/unoconv

Usage

$unoconv = $this->get('jmd_unoconv');
$unoconv->convert($inputFile, $format);
$unoconv->convert($inputFile, $format, $outputFile);

Console command:

php app/console jmd:unoconv:convert format /path/to/some/input_File -o /path/to/output/file