PHP Classes

File: config/pdf-to-html.php

Recommend this page to a friend!
  Packages of Jacobo Cantorna Cigarrán   Laravel PDF2HTML   config/pdf-to-html.php   Download  
File: config/pdf-to-html.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Laravel PDF2HTML
Convert PDF documents to HTML using poppler
Author: By
Last change:
Date: 3 months ago
Size: 1,562 bytes
 

Contents

Class file image Download
<?php

return [
   
/*
    |--------------------------------------------------------------------------
    | Binary Paths
    |--------------------------------------------------------------------------
    |
    | The paths to the pdftohtml and pdfinfo binaries.
    | If null, the package will attempt to auto-discover them.
    |
    */
   
'pdftohtml_path' => env('PDFTOHTML_PATH', null),
   
'pdfinfo_path' => env('PDFINFO_PATH', null),

   
/*
    |--------------------------------------------------------------------------
    | Output Directory
    |--------------------------------------------------------------------------
    |
    | The default output directory for generated HTML files.
    | If empty, a temporary directory will be used.
    |
    */
   
'output_dir' => env('PDFTOHTML_OUTPUT_DIR', ''),

   
/*
    |--------------------------------------------------------------------------
    | Default Options
    |--------------------------------------------------------------------------
    |
    | Default options for the conversion process.
    |
    */
   
'options' => [
       
'singlePage' => false,
       
'imageJpeg' => false,
       
'ignoreImages' => false,
       
'zoom' => 1.5,
       
'noFrames' => true,
    ],

   
/*
    |--------------------------------------------------------------------------
    | HTML Options
    |--------------------------------------------------------------------------
    */
   
'html' => [
       
'inlineCss' => true,
       
'inlineImages' => true,
       
'onlyContent' => false,
    ],
];
?>