2017 © Pedro Peláez
 

library office-converter

PHP Wrapper for LibreOffice

image

yigit-serin/office-converter

PHP Wrapper for LibreOffice

  • Thursday, July 5, 2018
  • by yigit-serin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Office Converter

PHP Wrapper for LibreOffice

Convert offices files to PDF and HTML using LibreOffice or OpenOffice. Supported conversion formats include:, (*1)

  • pptx => pdf
  • ppt => pdf
  • pdf => pdf
  • docx => pdf, odt, html
  • doc => pdf, odt, html
  • xlsx => pdf
  • xls => pdf

Installation

It is recommended to install OfficeConverter through Composer., (*2)

Run this command within your project directory, (*3)

composer require ncjoes/office-converter

Or add this line to your composer.json, (*4)

{
    "ncjoes/office-converter": "0.1.*"
}

Dependencies

In order to use OfficeConverter, you need to install LibreOffice., (*5)

Usage

Here are some samples., (*6)

convertTo('output-file.pdf'); //generates pdf file in same directory as test-file.docx
$converter->convertTo('output-file.html'); //generates html file in same directory as test-file.docx

//to specify output directory, specify it as the second argument to the constructor
$converter = new OfficeConverter('test-file.docx', 'path-to-outdir');
?>

License

The OfficeConverter package is open-sourced software licensed under the MIT license., (*7)

Feedback & Contribute

Notify me of any issues, bugs, or improvements. Thanks :+1:, (*8)

The Versions

05/07 2018

dev-master

9999999-dev https://github.com/yigit-serin/office-converter

PHP Wrapper for LibreOffice

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chukwuemeka Nwobodo
by Yigit Serin

converter office

05/07 2018

dev-dev

dev-dev https://github.com/yigit-serin/office-converter

PHP Wrapper for LibreOffice

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chukwuemeka Nwobodo
by Yigit Serin

converter office

05/07 2018

v0.1.4

0.1.4.0 https://github.com/yigit-serin/office-converter

PHP Wrapper for LibreOffice

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chukwuemeka Nwobodo
by Yigit Serin

converter office

05/07 2018

dev-development

dev-development https://github.com/yigit-serin/office-converter

PHP Wrapper for LibreOffice

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Chukwuemeka Nwobodo
by Yigit Seri

converter office

01/12 2016

v0.1.3

0.1.3.0

PHP Wrapper for LibreOffice

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Chukwuemeka Nwobodo

converter office

25/11 2016

v0.1.2

0.1.2.0

PHP Wrapper for LibreOffice

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Chukwuemeka Nwobodo

converter office

13/11 2016

v0.1.1

0.1.1.0

PHP Wrapper for LibreOffice

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Chukwuemeka Nwobodo

converter office

13/11 2016

v0.1.0

0.1.0.0

PHP Wrapper for LibreOffice

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Chukwuemeka Nwobodo

converter office