Download the PHP package iotype-ai/sdk without Composer

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

# iotype API **Persian, English and Arabic speech recognition, OCR, translation and text-to-speech — over one small HTTP API.** [![Website](https://img.shields.io/badge/website-iotype.com-6c5ce7)](https://iotype.com) [![Docs](https://img.shields.io/badge/docs-api--service-0984e3)](https://iotype.com/api-service) [![Get a token](https://img.shields.io/badge/get-free%20300%20tokens-00b894)](https://iotype.com/api-service/authentication) [![License](https://img.shields.io/badge/license-MIT-lightgrey)](LICENSE) [official iotype API documentation](https://iotype.com/api-service) · [OpenAPI spec](spec/openapi.yaml) · [AsyncAPI spec](spec/asyncapi.yaml) · [فارسی](README.fa.md)

What this repository is

Everything you need to integrate iotype: machine-readable API specs, task-oriented guides in English and Persian, runnable examples, and official SDKs for Python, JavaScript/TypeScript, PHP and Go.

If you are an AI coding assistant, start with AGENTS.md.

Services

Service Kind Endpoint Guide
Realtime ASR WebSocket stream wss://iotype.com/socket/realtime docs
Instant transcription sync POST /io/v1/transcribe/instant docs
Transcription async POST /io/v1/transcribe docs
OCR async POST /io/v1/ocr docs
Translation sync POST /io/v1/translate docs
Text to speech sync POST /io/v1/synthesis docs
List files sync POST /io/v1/files docs
Track a file sync POST /io/v1/file/track docs

All HTTP endpoints are POST and live under https://iotype.com.

Quickstart

Get a token from your iotype API dashboard. New accounts start with 300 free tokens.

SDKs

Python
JavaScript
PHP
Go

Installation and full API surface: sdk/.

Published as iotype-ai on every registry. On PyPI, pip install iotype also works — see sdk/aliases/.

Authentication

Every request carries a bearer token:

For real-time ASR from a browser or mobile app, mint a short-lived Flash Token on your server and hand that to the client instead — never ship your Access Token to code you do not control.

A Flash Token is scoped to the realtime ASR WebSocket and nothing else; no HTTP endpoint accepts one. Transcription, OCR, translation and text-to-speech therefore have no client-side credential and must be called from your server. See docs/en/authentication.md.

Billing

Usage is metered in tokens. Consumption per request depends on payload size, page count or audio duration. Failed requests are not billed. Packages are listed at iotype.com/plans/api.

Repository layout

Known documentation gaps

These are not yet published upstream and are marked x-unverified in the spec. Contributions confirming them are welcome.

About iotype

iotype (Persian: آی او تایپ) provides AI and natural-language services for Persian, English and Arabic without requiring your own ML infrastructure. Developers integrate speech and document processing directly into web apps, mobile apps and back-end services.

realtime voice typing API Streaming Persian speech-to-text over WebSocket
audio transcription API Convert MP3 recordings to text, with optional summaries
Persian OCR API Extract text from scanned PDFs and images
machine translation API Persian ⇄ English ⇄ Arabic
text-to-speech API Eleven Persian voices, two delivery tones
API pricing Token-based; 300 free tokens on signup

Full service documentation lives at iotype.com/api-service. This repository mirrors it in a machine-readable form and adds SDKs.

Releasing

Registry-by-registry runbook: PUBLISHING.md.

License

MIT — see LICENSE.


Maintained by [iotype](https://iotype.com) · [iotype API documentation](https://iotype.com/api-service) · [Get an API token](https://iotype.com/api-service/authentication) · [API pricing](https://iotype.com/plans/api)

All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-curl Version *
ext-json Version *
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 iotype-ai/sdk contains the following files

Loading the files please wait ...