2017 © Pedro Peláez
 

library pandoc

A php 7 compatible wrapper around the Pandoc file conversion software.

image

michaeldrennen/pandoc

A php 7 compatible wrapper around the Pandoc file conversion software.

  • Tuesday, February 27, 2018
  • by michaeldrennen
  • Repository
  • 1 Watchers
  • 1 Stars
  • 75 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 12 % Grown

The README.md

pandoc

Latest Stable Version Total Downloads License Coverage Status Build Status, (*1)

PHP 7 compatible wrapper around Pandoc (https://github.com/jgm/pandoc), (*2)

Usage

From file -> To file

$pandoc = new Pandoc();
$pandoc->fromFile('./from.txt')
       ->toFile('./to.docx')
       ->convert();

String content -> To file

$pandoc = new Pandoc();
$pandoc->content('<p>Wow, I really Cronenberged up the whole place, huh Morty?</p>')
       ->toFile('./to.docx')
       ->convert();

With exception handling

try{
    $pandoc = new Pandoc();
    $pandoc->fromFile('./from.txt')
           ->toFile('./to.docx')
           ->convert();
} catch(PandocException $exception) {
    echo $exception->getMessage();
}

The Versions

27/02 2018

dev-master

9999999-dev

A php 7 compatible wrapper around the Pandoc file conversion software.

  Sources   Download

MIT

The Development Requires

by Michael Drennen

26/02 2018

v1.03

1.03.0.0

A php 7 compatible wrapper around the Pandoc file conversion software.

  Sources   Download

MIT

The Development Requires

by Michael Drennen

16/10 2017

1.02

1.02.0.0

A php 7 compatible wrapper around the Pandoc file conversion software.

  Sources   Download

MIT

The Development Requires

by Michael Drennen

15/10 2017

v1.01

1.01.0.0

A php 7 compatible wrapper around the Pandoc file conversion software.

  Sources   Download

MIT

The Development Requires

by Michael Drennen

14/10 2017

v1.0

1.0.0.0

A php 7 compatible wrapper around the Pandoc file conversion software.

  Sources   Download

MIT

The Development Requires

by Michael Drennen