PHP code example of brandcom / silverstripe-ai-chatbot-tracking

1. Go to this page and download the library: Download brandcom/silverstripe-ai-chatbot-tracking library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

brandcom / silverstripe-ai-chatbot-tracking example snippets

dotenv
MATOMO_TRACKING_URL="https://example.matomo.cloud/matomo.php"
MATOMO_SITE_ID="1"
MATOMO_BOT_TRACKING_ENABLED="true"
shell
ddev composer install
ddev exec vendor/bin/phpstan analyse modules/ai-chatbot-tracking/src
ddev exec vendor/bin/phpcs modules/ai-chatbot-tracking
ddev exec php modules/ai-chatbot-tracking/tests/run.php