1. Go to this page and download the library: Download empiretwo/gaze-laravel 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/ */
empiretwo / gaze-laravel example snippets
use Naoray\GazeLaravel\Facades\Gaze;
// Composition (fluent sugar)
$session = Gaze::daemon()->session('agent-thread-a');
$response = $session->clean($prompt);
// Direct hot path (one PHP call = one JSONL line)
$response = Gaze::daemon()->clean('agent-thread-a', $prompt);