Download the PHP package sitescreen/siterenderer without Composer

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

sitescreen/siterenderer

PHP SDK for the current SiteScreen public API.

Installation

The current SDK line targets api.sitescreen.io. It is not API-compatible with the earlier 1.x API.

The SDK targets the public SiteScreen HTTP API:

Authentication uses only:

X-Api-Key is not supported by the current API.

Target URLs and baseUrl values must use http or https, include a host, and must not contain URL credentials.

URL Policy Errors

The public API also rejects unsafe or non-actionable targets before queueing paid work: malformed URLs, placeholder/non-public TLDs, local/private IP addresses, non-public hostnames, and ports outside the SiteScreen allowlist. These failures are surfaced as ApiException with machine-readable apiCode values:

Account and Billing

Use getAccount() to validate the API key and inspect current point balance, usage counters, pricing, and feature capabilities:

The public API charges accepted screening and render requests in account points. If the key has insufficient balance, paid work fails with ApiException and HTTP status 402.

Screening

For async flow:

Completed screening reports contain raw arrays for ruleVerdict, probe, browser, ai, and telemetry. Keeping the report raw is deliberate while the screening schema is still evolving.

The AI verdict is also available through typed helpers:

AiClassification exposes grouping-friendly axes such as accessState, siteType, primaryTopic, secondaryTopics, businessModel, audience, geoScope, contentLanguage, safetyRisk, sensitiveFlags, and normalizedTags.

Browser-side request guard telemetry is available through a typed helper:

URL Rendering

Supported URL render outputs in the current API version:

Document-style PDF supports header/footer templates, grayscale mode, text PDF mode, A4-oriented PDF options, and printer-like high-contrast background lightening.

Current document-mode limitations:

HTML Rendering

Raw HTML rendering uses the same render result schema and artifact handling as URL rendering. baseUrl is optional and is used by the browser layer to resolve relative CSS, image, font, and link URLs.

HTML input is currently limited by the public API to 2 MiB before JSON overhead. Larger HTML documents should be published as URLs or split into a future upload-based render flow.

Artifacts

Render results and screening screenshots usually expose a CDN-facing artifact alias:

Artifact URLs have the form:

Provider-specific object storage URLs are implementation details and should not be stored as the public artifact contract.

If remote artifact storage is unavailable and inline fallback is enabled, render results may contain artifactBase64 instead of artifact.url.

The /files/<name> endpoint is not part of the 2.x SDK surface. Pass the full artifact URL returned by the API.

Not Implemented Yet

The following SDK surface is intentionally present but throws NotImplementedYetException until the API supports it:

Development

Do not run PHP or Composer directly on the host. Use a container:

For the full dev check, install dependencies inside a temporary container copy so vendor/ and composer.lock are not written into the library repo:

License

The SiteScreen PHP SDK is released under the MIT License.


All versions of siterenderer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-json Version *
guzzlehttp/guzzle Version ^7.8
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 sitescreen/siterenderer contains the following files

Loading the files please wait ...