Download the PHP package self-heallm/php-self-heallm without Composer
On this page you can find all versions of the php package self-heallm/php-self-heallm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download self-heallm/php-self-heallm
More information about self-heallm/php-self-heallm
Files in self-heallm/php-self-heallm
Package php-self-heallm
Short Description Framework-agnostic PHP library for automated error triage and LLM-powered self-healing.
License MIT
Homepage https://github.com/universe-coder/php-self-heallm
Informations about the package php-self-heallm
php-self-heallm
Packagist (self-heallm/php-self-heallm)
GitHub (universe-coder/php-self-heallm)
Canonical repository URLs are in self-heallm/php-self-heallm.
Framework-agnostic PHP Composer library that scans recent log errors, asks an LLM for a fix (OpenAI, Anthropic, Hugging Face OpenAI-compatible endpoint, or Ollama), validates path safety, optionally applies patches, and sends reports (Telegram, Slack, webhook, Sentry, JSONL file).
Install
CLI
From your project root (with config/self-heal.php or env vars):
Or pass an explicit config path:
Copy config/self-heal.php into your app and adjust paths under log, reporting, and deduplication defaults (package defaults use <package>/var/... when shipped alone).
Programmatic use
Or build config in memory:
Environment variables
Same SELF_HEAL_* names as the Laravel-oriented package; see config/self-heal.php for the full list. Set SELF_HEAL_OPENAI_TOKEN, SELF_HEAL_LOG_PATH, etc., in your process environment or .env loader before including the config file.
Security
- Only paths under configured
allowed_pathsare accepted;forbidden_pathsalways win. - Auto-apply runs only when
enabled,auto_apply, anddry_runare set accordingly in config.
Related
The laravel-self-heallm package targets Laravel apps; this library is suitable for any PHP runtime with Composer.
License
MIT. See LICENSE.
All versions of php-self-heallm with dependencies
ext-json Version *
ext-mbstring Version *
symfony/console Version ^6.4|^7.0
symfony/http-client Version ^6.4|^7.0