AIML
AIML Parser based on PHP
Install / Use
/learn @a2design-inc/AIMLREADME
AIML parser
Requirements
- PHP: ≥ 5.4
Instalation
composer require a2design/aiml
Usage
$aimlFilePath = '/path/to/file.aiml';
$chat = new AIML();
$chat->addDict($aimlFilePath);
$answer = $chat->getAnswer('how are you?');
// i'm fine
Contributing
-
Fork the Project
-
Install Development Dependencies
-
Create a Feature Branch
-
(Recommended) Run the Test Suite
vendor/bin/phpunit -
Send us a Pull Request
