/pdf-image

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

Primary LanguagePHP

PDF Image - CodelineRed

Take a look at screenshots.

Demo page

Table of contents

Included

Install Main Build

Required

  • PHP ^8.2
  • PHP GD extension

Optional

  • Node.js >=18.0
  • npm npm i npm@latest -g
  • PHP Imagick extension
  • PHP ZIP extension

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

With Composer

php composer create-project codelinered/pdf-image && cd pdf-image

With GIT

git clone https://github.com/CodelineRed/pdf-image.git && cd pdf-image && git checkout main

With ZIP

Unix

wget -O pi-main.zip https://github.com/CodelineRed/pdf-image/archive/main.zip && unzip pi-main.zip && cd pdf-image-main

Windows 10+

curl -L -o pi-main.zip https://github.com/CodelineRed/pdf-image/archive/main.zip && tar -xf pi-main.zip && 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

  • Start Docker systemctl docker start
  • Copy and run commands below
docker run --rm --interactive --tty --volume $PWD:/app composer create-project --ignore-platform-reqs codelinered/pdf-image && cd pdf-image && docker-compose build && docker-compose up -d && xdg-open http://localhost:7708

Windows 10+

  • Start Docker Desktop "C:\Program Files\Docker\Docker Desktop.exe"
  • Copy and run commands below
docker run --rm --interactive --tty --volume %cd%:/app composer create-project --ignore-platform-reqs codelinered/pdf-image && cd pdf-image && docker-compose build && docker-compose up -d && start http://localhost:7708

Open localhost:7708 for Website.