PHPackages                             distvan/dialclient - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. distvan/dialclient

ActiveLibrary

distvan/dialclient
==================

HTTP client library built on top of Guzzle with async requests and stream support.

1.0.0(1w ago)01↓100%MITPHPPHP ^8.1

Since Mar 15Pushed 5d agoCompare

[ Source](https://github.com/distvan/dialclient)[ Packagist](https://packagist.org/packages/distvan/dialclient)[ RSS](/packages/distvan-dialclient/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (10)Versions (2)Used By (0)

PHP DialClient
--------------

[](#php-dialclient)

DIAL AI Chat Completion Task implemented in PHP. A command line chat application that communicates with the DIAL AI API.

API specification: [https://dialx.ai/dial\_api](https://dialx.ai/dial_api)

### Install

[](#install)

```
composer require distvan/dialclient
```

### Basic usage (sync)

[](#basic-usage-sync)

`DialChatCompletions::create()` returns a `Message` (role + content).

```
