PHP Classes

File: examples/example.php

Recommend this page to a friend!
  Classes of Eric Jumba   Laravel Docverter   examples/example.php   Download  
File: examples/example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Laravel Docverter
Laravel facade and service to convert documents
Author: By
Last change:
Date: 2 months ago
Size: 200 bytes
 

Contents

Class file image Download
<?php
use RTF2PDF\RTF2PDFConverter;

$rtfContent = file_get_contents('example.rtf');
$pdfFilePath = 'output.pdf';

$converter = new RTF2PDFConverter($rtfContent, $pdfFilePath);
$converter->convert();