tippiti/api-client
Composer 安装命令:
composer require tippiti/api-client
包简介
Official PHP client for the Tippiti API – the transcription and dictation platform for physicians, attorneys, forensic examiners and professional typing services.
关键字:
README 文档
README
Official PHP client for the Tippiti API – the transcription and dictation platform for physicians, attorneys, forensic examiners and professional typing services.
- Interactive API docs: apidocs.tippiti.io
- OpenAPI specification: tippiti/openapi
- Platform: tippiti.io
- Support: app.tippiti.io/support/create
Framework-agnostic. Built on Guzzle and PSR-7 / PSR-18. Runs in Laravel, Symfony, Slim or plain PHP.
Installation
composer require tippiti/api-client
Requires PHP 8.1 or newer. Pulls Guzzle as its default HTTP client.
Quick start
use Tippiti\Api\Tippiti; use Tippiti\Api\Generated\Api\DictationApi; $config = Tippiti::configure(token: getenv('TIPPITI_TOKEN')); $dictations = new DictationApi(config: $config); $response = $dictations->dictationIndex(include_notes: true); foreach ($response->getData() as $dictation) { echo $dictation->getId() . ': ' . $dictation->getTitle() . PHP_EOL; }
Every endpoint, request body, parameter and response is typed, derived directly from the OpenAPI specification at apidocs.tippiti.io.
Authentication
Tippiti::configure() configures Bearer-token authentication against https://app.tippiti.io/api. Tokens are scoped to the issuing user's permissions (main user or sub-user with the relevant capabilities) and can be created in the account settings.
Resource IDs
All resource identifiers are sqid-encoded strings prefixed with aid-, for example aid-xyz12345. Model properties reflect this – IDs are typed string, never int:
$dictation = $dictations->dictationShow(dictation: 'aid-xyz12345');
Raw integer IDs are rejected with a 404 response.
Available Api classes
After installation, every API group has a dedicated class under Tippiti\Api\Generated\Api\*Api:
use Tippiti\Api\Generated\Api\DictationApi; use Tippiti\Api\Generated\Api\AccountApi; use Tippiti\Api\Generated\Api\FolderApi; use Tippiti\Api\Generated\Api\InstructionSetApi; use Tippiti\Api\Generated\Api\SubUserApi; // ...
Method names follow the operationIds from the specification: dictationIndex, dictationStore, dictationShow, folderIndex, accountUpdate and so on. See apidocs.tippiti.io for the full operation list.
Response envelope
Successful responses expose getSuccess(): bool and getData(): mixed accessors. Failure responses throw Tippiti\Api\Generated\ApiException containing the HTTP status code, the decoded response body and the response headers. Validation failures produce ApiException with status 422 and per-field error messages. Rate-limit breaches produce ApiException with status 429 and a Retry-After header.
use Tippiti\Api\Generated\ApiException; try { $response = $dictations->dictationShow(dictation: 'aid-xyz12345'); } catch (ApiException $e) { fwrite(STDERR, "HTTP {$e->getCode()}: {$e->getMessage()}\n"); print_r($e->getResponseBody()); }
Custom base URL
$config = Tippiti::configure( token: '...', baseUrl: 'https://staging.app.tippiti.io/api', );
Custom HTTP client
Pass your own Guzzle-compatible client to any Api constructor – useful for custom timeouts, proxies, HTTP/2 tuning, or middleware:
use GuzzleHttp\Client; use GuzzleHttp\HandlerStack; $stack = HandlerStack::create(); // add your middleware $http = new Client(['handler' => $stack, 'timeout' => 30]); $dictations = new DictationApi(client: $http, config: $config);
Versioning
This client follows Semantic Versioning. A release note in CHANGELOG.md accompanies every version. Breaking changes to the underlying API produce a major version bump of this package.
License
MIT. The Tippiti platform, trademarks and data are not covered by this license.
tippiti/api-client 适用场景与选型建议
tippiti/api-client 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 04 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「API-Client」 「Transcription」 「openapi」 「tippiti」 「dictation」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 tippiti/api-client 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tippiti/api-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 tippiti/api-client 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Skolkovo API Client
A Laravel package providing transcription feature for audio file
Laravel SDK for the Pocket API - Access recordings, transcripts, summaries, and more
A client library for the OpenPLZ API project
Alfabank REST API integration
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 27
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-23