Download the PHP package sharpapi/php-custom-workflow without Composer
On this page you can find all versions of the php package sharpapi/php-custom-workflow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package php-custom-workflow

SharpAPI PHP Custom Workflow SDK
๐ฏ Build and execute no-code AI API endpoints โ powered by SharpAPI Custom AI Workflows.
Check the full documentation on the Custom AI Workflows page.
Quick Links
| Resource | Link |
|---|---|
| Product Details | SharpAPI.com |
| SDK Libraries | GitHub - SharpAPI SDKs |
Requirements
- PHP >= 8.1
- A SharpAPI account with an API key
Installation
Step 1. Install the package via Composer:
Step 2. Visit SharpAPI to get your API key.
Laravel Integration
Building a Laravel application? Check the Laravel package version: https://github.com/sharpapi/laravel-custom-workflow
What it does
This package provides a PHP SDK for SharpAPI Custom AI Workflows โ user-built, no-code AI API endpoints. It lets you:
- List your custom workflows
- Describe a workflow's schema (params, input mode, output schema)
- Execute workflows with JSON or form-data payloads (including file uploads)
- Validate payloads client-side before execution
- Poll for async results
Usage
Execute a form-data workflow with file upload
Discover available workflows
Inspect a workflow's schema
Client-side validation before execution
API Reference
CustomWorkflowClient extends SharpApiClient from sharpapi/php-core, inheriting fetchResults(), ping(), quota(), rate limiting, etc.
| Method | Returns | Description |
|---|---|---|
listWorkflows($page, $perPage) |
WorkflowListResult |
Paginated list of your workflows |
describeWorkflow($slug) |
WorkflowDefinition |
Schema, params, input mode, output schema |
executeWorkflow($slug, $params, $files) |
string (status URL) |
Execute a workflow |
validateAndExecute($slug, $params, $files) |
string (status URL) |
Validate client-side, then execute |
fetchResults($statusUrl) |
SharpApiJob |
Poll for results (inherited) |
DTOs
WorkflowDefinitionโslug,name,inputMode,outputSchema,params[],requiredParams(),optionalParams()WorkflowParamโkey,label,type,required,defaultValueWorkflowListResultโworkflows[],total,perPage,currentPage,totalPages
Enums
InputModeโJSON/FORM_DATAParamTypeโJSON_STRING,JSON_NUMBER,JSON_BOOLEAN,JSON_OBJECT,JSON_ARRAY,FORM_DATA_TEXT,FORM_DATA_FILE
Do you think our API is missing some obvious functionality?
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- A2Z WEB LTD
- Dawid Makowski
- Boost your PHP AI capabilities!
License
The MIT License (MIT). Please see License File for more information.
Social Media
๐ For the latest news, tutorials, and case studies, don't forget to follow us on:
All versions of php-custom-workflow with dependencies
sharpapi/php-core Version ^1.4.0
guzzlehttp/guzzle Version ^7.0|^7.9|^7.10