Download the PHP package asyntai/cakephp-ai-chatbot without Composer

On this page you can find all versions of the php package asyntai/cakephp-ai-chatbot. 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 cakephp-ai-chatbot

Asyntai AI Chatbot for CakePHP

Add the Asyntai AI chat assistant to your CakePHP app. It answers your visitors' questions from your own content, such as your website, help center, docs and FAQs, in more than 80 languages, day and night.

Works with CakePHP 4.4+ and 5, on PHP 8.1 or later.

Install

Add your widget ID to config/app_local.php:

Or set the ASYNTAI_WIDGET_ID environment variable.

Open your site. The chat bubble is on every page.

Where the widget ID comes from

Open the Install page in your Asyntai dashboard. The widget ID is the value of data-asyntai-id in the snippet shown there. It starts with asyntai_.

Creating an account is free, and the Free plan is enough to try the widget.

Options

All options go under the AiChatbot key in your config.

Personal answers

With userContext, the assistant knows who is asking. It can greet signed-in users by name and answer questions about their own account. Return null for guests and they get the widget without any user data. User context is part of the Asyntai Standard and Pro plans.

Placing the widget yourself

Set 'autoInject' => false, load the helper, and print the widget in your layout before </body>:

The helper also takes widgetId, scriptUrl and userContext options, so one section of your site can have its own assistant. A page that prints the widget with the helper never gets a second copy from the middleware.

What the plugin does

Answering from your content

Asyntai reads your published pages. Add your website URL in the dashboard, and the assistant answers from those pages. You can also add documents, and question and answer pairs.

Removing it

Tests

Support

Email [email protected], or read the CakePHP guide.

Licence

MIT. See LICENSE.


All versions of cakephp-ai-chatbot with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
cakephp/cakephp Version ^4.4 || ^5.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 asyntai/cakephp-ai-chatbot contains the following files

Loading the files please wait ...