Download the PHP package bradvin/wp-ai-client-streaming without Composer

On this page you can find all versions of the php package bradvin/wp-ai-client-streaming. 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 wp-ai-client-streaming

WP AI Client Streaming

bradvin/wp-ai-client-streaming is a WordPress 7 streaming adapter package designed to read like a small extension of core’s AI client layer.

It exposes core-style WP_AI_* classes and helper functions. When multiple plugins bundle the package, its global loader keeps a single active copy and loads the newest registered package version.

If you are reviewing the package for upstream WordPress use, start with:

Install

Demo Plugin

If you want a working wrapper plugin and demo UI for this package, see:

Bootstrap

Initialize the discovery strategy after plugins have loaded:

The package registers itself through WP_AI_Client_Streaming_Package_Loader as Composer autoloads each bundled copy. Actual adapter classes are loaded later from the newest registered version, so direct class access should happen on or after plugins_loaded.

Usage

Use the streaming-aware prompt helper directly:

Or wrap an existing core prompt builder:

For transport diagnostics against the default registry, call:

License

bradvin/wp-ai-client-streaming is licensed under GPL-2.0-or-later.

Publishing

The latest tagged release for this package is v1.0.0.

For the publish checklist, see docs/publishing.md.


All versions of wp-ai-client-streaming with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 bradvin/wp-ai-client-streaming contains the following files

Loading the files please wait ...