PHPackages                             wespals/ghostscript-console - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. wespals/ghostscript-console

ActiveLibrary[CLI &amp; Console](/categories/cli)

wespals/ghostscript-console
===========================

A Symfony CLI utility for the Ghostscript executable

v1.0.0(3y ago)04MITPHPPHP &gt;=7.1

Since Jun 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/wespals/ghostscript-console)[ Packagist](https://packagist.org/packages/wespals/ghostscript-console)[ RSS](/packages/wespals-ghostscript-console/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Ghostscript Console
===================

[](#ghostscript-console)

A Symfony CLI utility for the Ghostscript executable

### Installation

[](#installation)

```
composer require wespals/ghostscript-console
```

### Usage

[](#usage)

```
php vendor/bin/ghostscript-console ghostscript -g 'sDEVICE=pdfwrite' --gs='dCompatibilityLevel=1.4' ./tests/files/2019FormW2-PDFv1.7.pdf ./tests/files/temp/ghostscript-output.pdf
```

### Default parameter switches

[](#default-parameter-switches)

#### The following parameters are automatically set if not explicitly included in the command.

[](#the-following-parameters-are-automatically-set-if-not-explicitly-included-in-the-command)

- -dSAFER
- -dBATCH
- -dNOPAUSE
- -sDEVICE=pdfwrite

### View command help and examples

[](#view-command-help-and-examples)

```
php vendor/bin/ghostscript-console ghostscript --help
```

### How to use Ghostscript

[](#how-to-use-ghostscript)

[Documentation](https://www.ghostscript.com/doc/current/Use.htm)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1447d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f90132384eb559fba337a860b84a031bc0bd2572f35e2622c42aa143ef9166c4?d=identicon)[wespals](/maintainers/wespals)

---

Top Contributors

[![wespals](https://avatars.githubusercontent.com/u/2712516?v=4)](https://github.com/wespals "wespals (1 commits)")

---

Tags

clisymfonypdfghostscript

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wespals-ghostscript-console/health.svg)

```
[![Health](https://phpackages.com/badges/wespals-ghostscript-console/health.svg)](https://phpackages.com/packages/wespals-ghostscript-console)
```

###  Alternatives

[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[fidry/console

Library to create CLI applications

192.0M4](/packages/fidry-console)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1322.1k12](/packages/mahocommerce-maho)[duncan3dc/console

Create command line php applications using symfony/console

17263.4k2](/packages/duncan3dc-console)[eddiriarte/console-select

A fancy selection interface for symfony's console component.

117.2k2](/packages/eddiriarte-console-select)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
