Download the PHP package toolcenter/sdk without Composer

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

ToolCenter PHP SDK

Latest Stable Version PHP Version Require License Total Downloads

The official PHP SDK for ToolCenter - A comprehensive API for web automation tools including screenshots, PDFs, QR codes, metadata extraction, and much more.

Features

Installation

Install the SDK via Composer:

Quick Start

Authentication

Get your API key from your ToolCenter Dashboard and initialize the client:

Usage Examples

Screenshots

PDF Generation

QR Codes

Metadata Extraction

Bulk Operations

Laravel Integration

Service Provider

Create a service provider to register the ToolCenter client:

Configuration

Add your API key to config/services.php:

Usage in Laravel

API Methods

Core Methods

Method Description Endpoint
screenshot(array $options) Capture website screenshots POST /api/v1/screenshot
pdf(array $options) Generate PDFs from web pages POST /api/v1/pdf
qr(array $options) Generate QR codes POST /api/v1/qr
ogImage(array $options) Create Open Graph images POST /api/v1/og-image
metadata(array $options) Extract website metadata POST /api/v1/metadata
htmlToImage(array $options) Convert HTML to image POST /api/v1/html-to-image
linkPreview(array $options) Generate link previews POST /api/v1/link-preview

Image Processing

Method Description Endpoint
watermark(array $options) Add watermarks to images POST /api/v1/watermark
compress(array $options) Compress images POST /api/v1/compress
colors(array $options) Extract dominant colors POST /api/v1/colors
placeholder(array $options) Generate placeholder images POST /api/v1/placeholder

Website Analysis

Method Description Endpoint
dns(array $options) DNS lookups POST /api/v1/dns
ssl(array $options) SSL certificate info POST /api/v1/ssl
status(array $options) Website status checks POST /api/v1/status
techStack(array $options) Technology stack detection POST /api/v1/techstack
whois(array $options) WHOIS lookups POST /api/v1/whois
favicon(array $options) Extract favicons POST /api/v1/favicon

Utility Methods

Method Description Endpoint
usage() Get API usage statistics GET /api/v1/usage

Bulk Operations

Method Description Endpoint
bulkScreenshot(array $urls) Bulk screenshot capture POST /api/v1/bulk/screenshot
bulkPdf(array $urls) Bulk PDF generation POST /api/v1/bulk/pdf
bulkMetadata(array $urls) Bulk metadata extraction POST /api/v1/bulk/metadata

Error Handling

The SDK provides custom exception classes for different error scenarios:

Requirements

Support

Contributing

We welcome contributions! Please feel free to submit a Pull Request.

License

This SDK is open-sourced software licensed under the MIT license.


Made with ❤️ by ToolCenter


All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
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 toolcenter/sdk contains the following files

Loading the files please wait ...