Download the PHP package shipfastlabs/toolkit-jigsawstack without Composer

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

shipfastlabs/toolkit-jigsawstack

Latest Version Total Downloads

JigsawStack tools for the Laravel AI SDK - sentiment, summary, embedding, translation, web search, scraping, vision, audio, and validation

Part of the shipfastlabs/toolkit catalog of reusable AI tools for the Laravel AI SDK.

Installation

Usage

Register every JigsawStack tool at once with the JigsawStack helper:

Or add individual tools to an agent's tools():

Tools

Each tool maps to a JigsawStack endpoint and returns the raw JSON response (pretty-printed) so the model can read every field.

General

Class Endpoint Required Optional
JigsawStackSentiment POST /v1/ai/sentiment text
JigsawStackSummary POST /v1/ai/summary text type (text|points), max_points
JigsawStackEmbedding POST /v1/embedding text type (default text)
JigsawStackPrediction POST /v1/ai/prediction dataset (JSON array of {date,value}) steps
JigsawStackTextToSql POST /v1/ai/sql prompt sql_schema, database

Translation

Class Endpoint Required Optional
JigsawStackTranslateText POST /v1/ai/translate text, target_language current_language
JigsawStackTranslateImage POST /v1/ai/translate/image url, target_language

Web

Class Endpoint Required Optional
JigsawStackWebSearch POST /v1/web/search query ai_overview, safe_search, max_results
JigsawStackAiScrape POST /v1/ai/scrape url, element_prompts (comma-separated) root_element_selector
JigsawStackHtmlToAny POST /v1/web/html_to_any html type (png|jpeg|webp|pdf), full_page
JigsawStackSearchSuggestions GET /v1/web/search/suggest query

Vision

Class Endpoint Required Optional
JigsawStackVocr POST /v1/vocr url prompt
JigsawStackObjectDetection POST /v1/object_detection url prompts (comma-separated), annotated_image

Audio

Class Endpoint Required Optional
JigsawStackSpeechToText POST /v1/ai/transcribe url language, translate

Validation

Class Endpoint Required Optional
JigsawStackNsfwDetection POST /v1/validate/nsfw url
JigsawStackProfanityCheck POST /v1/validate/profanity text censor_replacement
JigsawStackSpellCheck POST /v1/validate/spell_check text language_code
JigsawStackSpamCheck POST /v1/validate/spam_check text

Configuration

Every tool reads its API key from Laravel's services config.

1. Add the JigsawStack service to config/services.php

2. Add the environment variable to .env

Config key Env var Default Description
services.jigsawstack.key JIGSAWSTACK_API_KEY - Required. Your JigsawStack API key, sent as the x-api-key header.

Safety

JigsawStack API

These tools use the JigsawStack API. See the API reference for full details on each endpoint and its response shape.


All versions of toolkit-jigsawstack with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4.0
illuminate/contracts Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
laravel/ai Version ^0.7
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 shipfastlabs/toolkit-jigsawstack contains the following files

Loading the files please wait ...