Download the PHP package orchestratexr/botman-chat-sdk without Composer

On this page you can find all versions of the php package orchestratexr/botman-chat-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 botman-chat-sdk

SuperBotMan

Latest Version on Packagist License

A Laravel package that gives any host app a drop-in chat-widget UI plus a thin multi-channel adapter framework on top of the Laravel AI SDK.

SuperBotMan is the evolution of the prior orchestratexr/botman-chat-sdk package. The widget UI carried over; the LLM back-end (previously a hand-rolled BotMan + LLPhant integration) has been replaced by laravel/ai. See CHANGELOG.md for the full break-down — anything BotMan- or LLPhant-related is gone.

What you get

What it isn't

Installation

Publish the package's config, views, and built JS/CSS assets, then run migrations:

Add an Anthropic (or other Lab provider) key to your .env:

The 3-line host-app integration

Drop these in AppServiceProvider::boot():

That auto-registers:

Method URL Purpose
POST {mount}/chat Agent endpoint (the widget posts here)
GET {mount}/chat/conversations List the current user's conversations
GET {mount}/chat/conversations/{id} Fetch a conversation's messages (for resume)
DELETE {mount}/chat/conversations/{id} Delete a conversation

{mount} defaults to /chat and is configurable in config/super-botman.php.

Drop the widget onto any Blade page:

Define your agent as a normal laravel/ai Agent class:

Customizing user identity

Most apps will want to override how SuperBotMan identifies the visitor — for naming the echo channel, for scoping conversation history, and for telling laravel/ai which user owns the conversation. Extend the default configurator and bind your subclass:

If your User model uses a non-standard primary key column, that's already handled — SuperBotMan wraps the user in a ConversationParticipant adapter before handing it to the SDK.

Anonymous visitors

Two patterns are supported out of the box:

  1. Your app already authenticates every visitor as a real User row (e.g. an "Anonymous User" account that unauthenticated sessions get). Override agentUser() to return Auth::user() and you're done. SuperBotMan never touches its own anonymous table.
  2. Your app has no anonymous-user concept. The default configurator will get-or-create a row in super_botman_anonymous_users keyed by a session UUID and return that. When the visitor signs in, your app can run a "claim" step to reassign their agent_conversations.user_id from the anonymous row to the real user (helper to follow).

The Laravel AI SDK requires agent_conversations.user_id to be non-null and reference a real Authenticatable; this design is the workaround.

Multi-channel

The package ships only WebChannel today. To add Slack / Discord / etc., implement OrchestrateXR\SuperBotMan\Contracts\Channel:

Then register an agent with that channel:

The same agent code runs over either transport.

Configuration

config/super-botman.php (after publishing) covers the widget's appearance + the route mount prefix. The agent registry — which agents exist, what URL they live at, what channel serves them — is populated by your code calling SuperBotMan::registerAgent(...), not by config.

Testing

Contributing

See CONTRIBUTING.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). See LICENSE.

About OrchestrateXR

OrchestrateXR is the easiest way to create and deploy XR content. Use your web browser to create for mobile, tablets, PCs and XR devices.


All versions of botman-chat-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/auth Version ^11.0|^12.0
illuminate/contracts Version ^11.0|^12.0
illuminate/database Version ^11.0|^12.0
illuminate/http Version ^11.0|^12.0
illuminate/routing Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
illuminate/view Version ^11.0|^12.0
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 orchestratexr/botman-chat-sdk contains the following files

Loading the files please wait ...