Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
/ JMDUnoconvBundle Public archive

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

Notifications You must be signed in to change notification settings

mops1k/JMDUnoconvBundle

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages