codelinered/pdf-image

Converts uploaded images to PDF, merges 2 PDF files to 1 or converts PDF to image.

1.2.0 2023-09-10 09:25 UTC

This package is auto-updated.

Last update: 2024-04-10 10:48:28 UTC


README

Take a look at screenshots.

Table of contents

Included

  • Zend Framework 1.11.11 (Modified for PHP 8)

Install Main Build

Required

  • PHP ^8.0
  • GD extension
  • Imagick extension

Open console on your OS and navigate to your project folder. Choose one of the versions below.

+++++ COMPOSER VERSION +++++
$ php composer create-project codelinered/pdf-image
$ cd pdf-image
+++++ GIT VERSION +++++
$ git clone https://github.com/CodelineRed/pdf-image.git
$ cd pdf-image
$ git checkout main
$ (optional on unix) rm -rf .git
$ (optional on win10) rmdir .git /s
+++++ ZIP VERSION +++++
$ ---- Unix ----
$ wget -O pi-main.zip https://github.com/CodelineRed/pdf-image/archive/main.zip
$ unzip pi-main.zip
$ ---- Windows 10 ----
$ curl -L -o pi-main.zip https://github.com/CodelineRed/pdf-image/archive/main.zip
$ tar -xf pi-main.zip
$ --- All OS ----
$ cd pdf-image-main

Install with Docker (optional)

Required

Open console on your OS and navigate to the place where you want to install the project.

$ ---- Unix ----
$ systemctl docker start
$ docker run --rm --interactive --tty --volume $PWD:/app composer create-project --ignore-platform-reqs codelinered/pdf-image
$ ---- Windows CMD ----
$ "c:\path\to\Docker Desktop.exe"
$ docker run --rm --interactive --tty --volume %cd%:/app composer create-project --ignore-platform-reqs codelinered/pdf-image
$ --- All OS ----
$ cd pdf-image
$ docker-compose build
$ docker-compose up -d

Open localhost:7708 for Website.