PHP code example of koh / content-intelligence
1. Go to this page and download the library: Download koh/content-intelligence 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/ */
koh / content-intelligence example snippets
$this->auditService->track(
pageUid: $pid,
contentUid: $uid,
tableName: 'tt_content',
fieldName: 'bodytext',
origin: ContentOrigin::AiGenerated,
aiProvider: 'anthropic',
aiModel: $model,
);