Download the PHP package techulus/capture without Composer
On this page you can find all versions of the php package techulus/capture. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download techulus/capture
More information about techulus/capture
Files in techulus/capture
Download techulus/capture
More information about techulus/capture
Files in techulus/capture
Vendor techulus
Package capture
Short Description Official PHP SDK for Capture (capture.page). Capture screenshots, generate PDFs, extract content and metadata from web pages.
License MIT
Homepage https://capture.page
Package capture
Short Description Official PHP SDK for Capture (capture.page). Capture screenshots, generate PDFs, extract content and metadata from web pages.
License MIT
Homepage https://capture.page
Please rate this library. Is it a good library?
Informations about the package capture
Capture PHP SDK
Official PHP SDK for Capture - Screenshot and content extraction API.
Installation
Quick Start
Features
- Screenshot Capture: Capture full-page or viewport screenshots as PNG/JPG
- PDF Generation: Convert web pages to PDF documents
- Content Extraction: Extract HTML and text content from web pages
- Metadata Extraction: Get page metadata (title, description, og tags, etc.)
- Animated GIFs: Create animated GIFs of page interactions
- Browser Sessions: Create stateful browser sessions and run actions
- Zero Dependencies: Uses only PHP built-in extensions (curl, json)
Usage
Initialize the Client
Building URLs
Image Capture
PDF Capture
Content Extraction
Metadata Extraction
Animated GIF
Fetching Data
Fetch Image
Fetch PDF
Fetch Content
Fetch Metadata
Fetch Animated GIF
Browser Sessions
CDP Sessions
To create a session with a Chrome DevTools Protocol (CDP) connection, pass
['cdp' => true] when creating the browser session. The response includes a
connection URL on the returned session object:
CDP sessions cannot be combined with proxy or bypassBotDetection options.
Configuration Options
Constructor Options
useEdge(bool): Use edge.capture.page instead of cdn.capture.page for faster response timestimeout(int): cURL timeout in seconds. Defaults to30
API Endpoints
The SDK supports two base URLs:
- CDN:
https://cdn.capture.page(default) - Edge:
https://edge.capture.page(whenuseEdgeistrue)
License
MIT
Links
Support
For support, please visit capture.page or open an issue on GitHub.
All versions of capture with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
ext-curl Version *
ext-json Version *
ext-curl Version *
ext-json Version *
The package techulus/capture contains the following files
Loading the files please wait ...