Download the PHP package lomshakov/voicekit-client without Composer

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

VoiceKit — PHP SDK

Packagist Version CI

Official PHP client for VoiceKit — the REST API for Russian speech: neural speech synthesis (TTS), transcription (STT) with diarization and timestamps, sentiment analysis, voice cloning, voice biometrics, audio/video effects, call QA, semantic search over recordings and batch operations.

Links: Website · Documentation · API reference · Pricing · Blog

No runtime dependencies: PHP 8.1+ with ext-json. cURL is used when available and the SDK falls back to PHP streams when it is not; streaming sessions use raw sockets, so no WebSocket extension is needed either.

Install

Quick start

Configuration

VoiceKitClient::fromEnvironment('VOICEKIT_API_KEY') reads the key from the environment, and any VoiceKit\Http\Transport implementation can replace the built-in one (proxy, PSR-18 bridge, test double).

Error handling

Every non-2xx response becomes a VoiceKit\VoiceKitError carrying the RFC 7807 code; network failures carry a message and no status:

Features

Area Methods
Synthesis synthesize, synthesizeStream, synthesizeAsync, getSynthesisJob, downloadSynthesisAudio
Voices voices, voice, createCloneVoice, listCloneVoices, getCloneVoice, deleteCloneVoice
Transcription transcribe, transcribeSync, getTranscriptionJob, subtitles, translateTranscript, vad
Analysis analyze, analyzeSync, getAnalysisJob, evaluate
Text intelligence detectLanguage, redact, topics, summarize, moderate
Effects applyAudioEffects, applyVideoEffects, cleanAudio + job/status/download helpers
Voice ID analyzeVoice, enrollVoice, verifyVoice, identifyVoice, listVoiceProfiles, deleteVoiceProfile
Recordings listRecordings, getRecording, recordingTranscript, recordingSpeakers, updateRecording, updateSpeaker, recordingFromLink, exportRecording, downloadRecordingAudio, share links
Call QA qaEvaluate, qaAnalytics, qaEvaluations, qaExport
Search search, ask, meetingProtocol
Batch / account batchSynthesize, batchAnalyze, getBatch, usage, billingBalance
Streaming transcribeStream, vadStream (WebSocket, Pro/Business)

Streaming synthesis (Pro/Business)

Audio effects (Free/Basic/Pro/Business)

Audio cleaning (Free/Basic/Pro/Business)

Voice ID (Pro/Business)

Recordings, QA & meeting intelligence (Pro/Business)

WebSocket streaming (Pro/Business)

Batches

Dynamic responses

The API evolves, so JSON answers come back as VoiceKit\Result — an array-backed object with typed accessors. Nested objects are wrapped too, and array access works as usual:

Result implements ArrayAccess, Countable, IteratorAggregate and JsonSerializable; toArray() returns the untouched payload.

Calling endpoints the SDK does not wrap yet

Requirements

PHP ext-json ext-curl ext-openssl
8.1+ required recommended (falls back to streams) required for wss:// streaming

Development

License

MIT © VoiceKit


All versions of voicekit-client with dependencies

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

Loading the files please wait ...