PHPackages                             wittiws/php-file-converters - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. wittiws/php-file-converters

Abandoned → [brainite/fileconverter](/?search=brainite%2Ffileconverter)Library[File &amp; Storage](/categories/file-storage)

wittiws/php-file-converters
===========================

Standardized file converter library.

v0.0.6(7y ago)23216[70 issues](https://github.com/stackpr/php-file-converters/issues)MITPHPPHP &gt;=5.5CI passing

Since Feb 4Pushed 3mo ago4 watchersCompare

[ Source](https://github.com/stackpr/php-file-converters)[ Packagist](https://packagist.org/packages/wittiws/php-file-converters)[ Docs](http://www.witti.ws/project/php-file-converters)[ RSS](/packages/wittiws-php-file-converters/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (9)Versions (6)Used By (0)

PHP File Converters
===================

[](#php-file-converters)

[![Build Status](https://camo.githubusercontent.com/5a05cb036a3f978cb41c5417481092efa2371bf8d35d3f54b555c56e53c8df33/68747470733a2f2f7472617669732d63692e6f72672f627261696e6974652f7068702d66696c652d636f6e766572746572732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/brainite/php-file-converters)

This PSR-4 library provides a unified interface for various file conversion utilities.

Engines Currently Supported
---------------------------

[](#engines-currently-supported)

### Convert Engines

[](#convert-engines)

- AbiWord
- Catdoc
- Docverter
- GhostScript
- Htmldoc
- ImageMagick
- LibreOffice
- MsgConvert
- Pandoc
- PhantomJs
- Ted
- Unoconv
- Unrtf
- WkHtmlToPdf
- Xhtml2Pdf

### Optimize Engines

[](#optimize-engines)

- JpegOptim
- Pdftk

### ReplaceString

[](#replacestring)

- Native (custom for FileConverter!)

Getting Started
---------------

[](#getting-started)

### Installation

[](#installation)

Option 1: Add the "brainite/fileconverter" requirement to your composer.json configuration.

Option 2: From the command-line, execute: composer create-project brainite/fileconverter

Option 3: Download the source code from [Github](https://github.com/brainite/php-file-converters) and then run `composer update`.

### CLI: Command Line Example

[](#cli-command-line-example)

```
/bin/fileconverter
```

### PHP Example with Composer Autoload

[](#php-example-with-composer-autoload)

```
