1. Go to this page and download the library: Download agelgil/watchman 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/ */
use Agelgil\Watchman\Agents\Watchman;
use Laravel\Ai\Attributes\{MaxSteps, Temperature};
#[MaxSteps(20)]
#[Temperature(0.0)]
final class TighterWatchman extends Watchman {}
// In a service provider's register():
$this->app->bind(Watchman::class, TighterWatchman::class);
shell
php artisan watchman
shell
php artisan watchman "review the last 10 commits for bugs and write a report"
php artisan watchman "summarise what app/Domain/Billing does and flag anything risky"
php artisan watchman "audit routes/api.php and its controllers for missing authorization"
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.