Download the PHP package hamidgh83/preview-maker without Composer
On this page you can find all versions of the php package hamidgh83/preview-maker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hamidgh83/preview-maker
More information about hamidgh83/preview-maker
Files in hamidgh83/preview-maker
Download hamidgh83/preview-maker
More information about hamidgh83/preview-maker
Files in hamidgh83/preview-maker
Vendor hamidgh83
Package preview-maker
Short Description PreviewMaker is a standalone application written in pure PHP to create preview (PDF and image) from different file formats ranging from Microsoft documents to video formats.
License MIT
Package preview-maker
Short Description PreviewMaker is a standalone application written in pure PHP to create preview (PDF and image) from different file formats ranging from Microsoft documents to video formats.
License MIT
Please rate this library. Is it a good library?
Informations about the package preview-maker
The Package
Overview
PreviewMaker is a standalone application written in pure PHP to create preview (PDF and image) from different file formats ranging from Microsoft documents to video formats.
Requirements
You need to have a Linux OS with the following items installed:
- PHP v7.2.5 above
- OpenJDK
- LibreOffice v6.2.6.2 above
- FFmpeg
Installation
Note: We are preparing a docker version for easier deployment.
Supported Files
PreviewMaker makes it easy to create image preview from Microsoft documents, PDF files and videos. Here is the list of supported mime types:
Documents
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
- "application/vnd.ms-excel",
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
- "application/vnd.ms-powerpoint", -"application/vnd.openxmlformats-officedocument.presentationml.presentation",
- "application/vnd.oasis.opendocument.text"
- "application/pdf"
Videos
- "video/3gpp",
- "video/mp4",
- "video/mpeg",
- "video/ogg",
- "video/quicktime",
- "video/webm",
- "video/x-m4v",
- "video/ms-asf",
- "video/x-ms-asf",
- "video/x-ms-wmv",
- "video/x-msvideo"
Console commands
Creating preview from a file
Usage
php bin/console.php preview [options] [--] <filepath>
Arguments | Argument | Description |
---|---|---|
filepath | Path to the file you want to make preview from |
Options | Option | Description | |
---|---|---|---|
Convert given document to pdf | |||
-o, --output=OUTPUT | Path to output file | ||
-h, --help | Display this help message | ||
-q, --quiet | Do not output any message | ||
-V, --version | Display this application version | ||
--ansi | Force ANSI output | ||
--no-ansi | Disable ANSI output | ||
-n, --no-interaction | Do not ask any interactive question | ||
-v | vv | vvv, --verbose | Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug |
All versions of preview-maker with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2.5
symfony/console Version ^3.4
php-ffmpeg/php-ffmpeg Version ^0.16.0
php-di/php-di Version ^6.0
ocramius/proxy-manager Version ^2.0
symfony/filesystem Version ^3.4
symfony/mime Version ^5.1
symfony/process Version ^5.1
symfony/console Version ^3.4
php-ffmpeg/php-ffmpeg Version ^0.16.0
php-di/php-di Version ^6.0
ocramius/proxy-manager Version ^2.0
symfony/filesystem Version ^3.4
symfony/mime Version ^5.1
symfony/process Version ^5.1
The package hamidgh83/preview-maker contains the following files
Loading the files please wait ....