Download the PHP package actengage/capture without Composer

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

Capture SDK

This package provides fluent SDK for the Capture server. Capture is a Node server on AWS that takes screenshots with a variety of options. This package requires access to a Capture server endpoint before it be used.

Requirements

Capture Server

Why is the Capture server endpoint not included in the package? Capture is a private Node server that runs Puppeteer with a specific set of features that are used for our internal products. We do not publish the URL, as its not intended for public consumption. You may however deploy your own Capture server and endpoint.

Capture Server

Installation

Install via Composer

Publish the config file

Set the endpoint URL in your ENV file.

Basic Usage

Calls

Call allow you to execute methods on the Puppeteer page instance before the screenshot has been taken. This is a convenient way to execute a sequence of actions that are explicitly built into the server options (mainly for edge cases). The first argument is the method name, and all other arguments are passed to the method in Puppeteer.

Clipping

Clip a portion of an image using width, height, x, and y coordinates. There is no clipping by default.

Encoding

Encoding changes how the response is composed, either using binary or base64. Defaults to binary.

Full Page

Take full page screenshots. Defaults to false.

Headers

Pass a custom headers that are included by Puppeteer in its HTTP request. Defaults to {"Accept-Language": "en-US"}.

Omit Background

This omits the black background for transparent PNG images. Defaults to true.

Quality

The quality of image that is returned. Must be 1-100. Defaults to 100.

Timeout

The timeout of the Puppeteer request (in milliseconds). Defaults to 25000.

Type

The type of image that is returned, jpeg or png. Defaults to jpeg.

Viewport

The viewport dimensions. Defaults to {"width": 1200, "height": 800}.

Wait Until

How long should Puppeteer wait before returning a response. Defaults to ['load', 'networkidle2'].


All versions of capture with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
laravel/framework Version ^9.0
guzzlehttp/guzzle Version ^7.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 actengage/capture contains the following files

Loading the files please wait ....