Download the PHP package org_heigl/ghostscript without Composer

On this page you can find all versions of the php package org_heigl/ghostscript. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ghostscript

Org_Heigl\Ghostscript

CI Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

A PHP-wrapper to the Ghostscript-CLI

The main reason to create this library was to create images from PDF- or Postscript-files. As those Files can be either in RGB- or in CMYK-Colorspace the library tries to handle colors so that the original file and the image are close in color-impression. This is especially important as f.e. PNG is RGB-only while JPEG can be either in RGB or CMYK.

Multipaged PDF-Files will create multiple images! To not overwrite your image-files the filename will be passed to sprintf to create a filename containing the number of the page. The one and only parameter will be the number of the page.

Why another Ghostscript-Wrapper?

There are currently 2 other wrappers around that both didn't meet the requirements I had:

While the gravitymedia library concentrates more on creating PDFs from input-media the alchemy library is not easily extendable and doesn't handle the parameters to finetune Ghostscript the way I needed them.

So this library tries to handle most of the important switches to ghostscript and also allows you to extend the library by implementing your own driver using the . More information on that will be shown in the Documentation

Installation

This package is best installed using composer.

composer require org_heigl/ghostscript

Documentation

You can find the documentation for the library at https://heiglandreas.github.io/Org_Heigl_Ghostscript

Usage


All versions of ghostscript with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4||^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package org_heigl/ghostscript contains the following files

Loading the files please wait ....