1. Go to this page and download the library: Download certamesh/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/ */
certamesh / gaze-laravel example snippets
use CertaMesh\Gaze\Facades\Gaze;
// 1. Strip PII / PHI / secrets before the prompt leaves your app.
$session = Gaze::clean($request->input('body'));
// 2. Send only pseudonymized text across the model boundary.
$reply = $llm->complete($session->cleanText);
// 3. Restore the real values owner-side, once the model has replied.
return Gaze::restore($session, $reply);