Download the PHP package chipslays/robot without Composer
On this page you can find all versions of the php package chipslays/robot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package robot
Robot 🦾
A very simple and indispensable helper that helps you automate the answers to simple questions in your application like a chatbot, chat on website, etc.
Supports all languages from wamania/php-stemmer.
Installation
Getting Started
Examples
Examples can be found in examples folder.
Methods
train(array $data): self
Train robot brain.
ask(string $text, callable $callback = 1): string|array|null
Get answer for message.
With callback.
matches(int $count = 1): self
How many matches we need to cut off unnecessary results.
debug(bool $enable = false): self
Get more details by ask()
method (matches count, words, etc).
NOTE Not working if callback passed.
License
MIT
All versions of robot with dependencies
PHP Build Version
Package Version
Requires
wamania/php-stemmer Version
^3.0
The package chipslays/robot contains the following files
Loading the files please wait ....