Download the PHP package oxhq/pliego-php without Composer

On this page you can find all versions of the php package oxhq/pliego-php. 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 pliego-php

oxhq/pliego-php

PHP 8.3+ 64-bit client for controlled, one-document-per-process Pliego rendering. The current stable package is 0.3.3; new integrations should use DocumentEngine and API 2.

API 2 rendering

DocumentEngine probes the executable, selects the exact public API 2 tuple, stages a canonical input closure, and validates the returned PDF, DocumentScene, bundle manifest, diagnostics, and their real bytes before returning.

The 0.3.3 client negotiates only Pliego's profile-null API 2 tuple. It requests no semantic or accessibility conformance profile and makes no PDF/UA claim. API 2 always denies live network access and host-font discovery. Fetch remote resources before the render, stage them as local files, and pass their paths through InputAsset entries in assets. allowedHttpRoots remains only for the deprecated API 1 compatibility client and is rejected by DocumentEngine with a migration message.

The advertised v0.3.3 API 2 surface excludes link annotations, collapsed-table-border capture, and the current upstream Chart.js 4.5.1 fixture. Unsupported scene operations fail closed and do not deliver a partial PDF. See the support profile below for the exact rendering boundary. This package makes no comparative performance claim.

The default page remains the previous 816 by 1056 CSS-pixel Letter surface with 48-pixel margins; the SDK converts it to exact 60-app-unit geometry. pageSize: 'A4' selects named A4. The canonical timezones are UTC and America/Tijuana; PST8PDT is accepted as a deprecated input alias and normalized to America/Tijuana in the request.

Successful results expose:

inputBundlePath and artifactsPath remain compatibility aliases for inputPath and diagnosticsPath. A caller can copy or stream pdfPath into durable application storage and later prune the private render job independently.

The SDK creates runtimeJobPath with exact Unix mode 0700. On Windows it fails closed unless the standard %SystemRoot%\\System32\\whoami.exe and icacls.exe tools can establish and verify one protected, current-user-only DACL before any input is staged; the tools are invoked directly, never through a command shell.

Accepted render failures throw RenderFailedException with a stable failure kind and validated diagnostic inventory. Exit 64 throws InvocationException. The advertised exit 74 boundary throws TransportException with its validated one-line engine diagnostic while retaining any unusable partial stdout for evidence. Other process, framing, timeout, identity, tampering, and closure failures also throw TransportException; an unavailable exact tuple throws UnsupportedContractException. All invoked failures retain jobPath evidence.

API 1 compatibility

CliRenderer is deprecated since 0.3.0 and remains available only as an explicit 0.3.x migration boundary. It continues to invoke pliego render and preserve its existing RenderResult and exception behavior. New integrations and framework bindings should use DocumentEngine; API 1 is not the default.

See the project support profile for the current rendering and resource boundaries.


All versions of pliego-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
php-64bit Version *
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 oxhq/pliego-php contains the following files

Loading the files please wait ...