Download the PHP package logipro/chatbot-php without Composer

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

Chatbot PHP

Client PHP for Chatbot API

Install

Ou pour installer depuis le dépôt :

Usage

1. Initialisation

Créez un client en spécifiant l'URL de l'API :

Ou utilisez l'URL par défaut :

2. Créer un contexte

Un contexte contient les instructions ou le contexte que l'assistant utilisera :

3. Uploader un fichier

Ajoutez des fichiers que l'assistant pourra utiliser :

4. Créer un assistant

Créez un assistant basé sur un contexte et des fichiers :

5. Créer un thread (conversation avec assistant)

Démarrez une conversation avec votre assistant :

6. Continuer la conversation

Envoyez des messages supplémentaires dans le thread :

Ressources disponibles

Contexts - Gestion des contextes

Files - Gestion des fichiers

Assistants - Gestion des assistants

Conversations - Gestion des conversations simples

Threads - Gestion des threads (conversations avec assistant)

Contributing

Requirements

Add a .env.local file

To install locally or on a development server, be careful with the following environment variables:

Typical local development .env.local:

Typical server development .env.local:

For production and pre-production, a .env.local MUST NOT exist because default variables target the production environment. However, this project includes a frontend that calls the API, so in pre-production you need a .env.local to override URL_API.

Typical pre-production .env.local:

Tests

Unit tests

We use Test-Driven Development (TDD) principles and good practices.

Integration tests

Integration tests are all test categories other than unit tests.

Acceptance tests

Acceptance tests are integration tests that verify the application against feature specifications. Gherkin is the specification language; Behat is the PHP runner.

Manual tests

Then open 172.17.0.1:35080/ in your browser.

Quality

Some indicators we aim for:

Quick check:

Check coverage:

Then open var/index.html in your browser.

Check infection:

Then open var/infection.html in your browser.


All versions of chatbot-php with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || >=8.0
symfony/http-client Version >=7.0
symfony/http-foundation Version >=7.0
symfony/mime Version >=7.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 logipro/chatbot-php contains the following files

Loading the files please wait ...