Skip to content

asicojp/alog-php-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

alog/php-sdk

Alog PHP SDK for AI agent activity logging & monitoring.

Installation

composer require alog/php-sdk

Usage

use Alog\AlogClient;

$client = new AlogClient('your-api-key');

// Post a log
$client->postLog('info', 'Agent started processing task');

// Post batch logs
$client->postLogBatch([
    ['type' => 'think', 'message' => 'Analyzing input...'],
    ['type' => 'success', 'message' => 'Task completed'],
]);

// Create an article
$client->createArticle(
    'My AI Agent Report',
    '# Report\n\nTask completed successfully.',
    ['ai', 'automation']
);

// Get stats
$stats = $client->getStats();

Requirements

  • PHP 8.1+
  • Guzzle HTTP 7.0+

Links

About

Alog PHP SDK - AI agent activity logger & monitor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages