Auto-detect and fix production errors in your PHP apps. Standalone agent for Laravel, Symfony, and custom PHP: pairs with your Patcherly account.
For a limited time: 30-day Pro trial - no credit card required. Cancel anytime. Sign up.
Prefer
@latest/ unpinned Composer installs, pin a version on Packagist, or download archives from the Patcherly downloads CDN.
One command downloads the PHP agent and launches OAuth pairing:
| Platform | Command |
|---|---|
| macOS / Linux / WSL | curl -sSL https://api.patcherly.com/install | sudo CONNECTOR_TYPE=php bash |
| Windows PowerShell | $env:CONNECTOR_TYPE = 'php'; irm "https://api.patcherly.com/install.ps1" | iex |
The CLI prints a verification URL and a short user code - open the URL, sign in, pick your site, and confirm. Credentials are saved to ~/.patcherly/credentials.json (or /root/.patcherly/ when run as root). Then start the agent - see After install.
Full installer options (paths, SKIP_LOGIN, older versions): Installing a connector.
composer global require patcherly/php-connector
patcherly loginThen run the long-lived agent (from the package tree or your install directory):
php patcherly_agent.phpOptional on quiet hosts: patcherly heartbeat from a daily cron / systemd timer so the connection stays fresh - see the PHP guide.
| Install method | Command |
|---|---|
| Universal installer (Linux/macOS) | sudo /opt/patcherly-connector/start.sh login |
| Universal installer (Windows) | & "$env:USERPROFILE\patcherly-connector\start.ps1" login |
| Composer | patcherly login |
On Linux, use
sudowhen the installer enabled the root-runpatcherly-connectorsystemd unit so credentials land in/root/.patcherly/.
- Status and approvals: Sites in your Patcherly dashboard.
- Start and keep the agent running - on Linux with the universal installer:
systemctl start patcherly-connector. Otherwise runstart.sh/start.ps1, orphp patcherly_agent.php. Details: PHP connector guide. - Path exclusions and patch policies: Path rules for sites.
- In the dashboard: Sites → your site → Test Mode ON (30-minute window).
- On the host:
patcherly send-test
# or: php patcherly_cli.php send-testSamples are flagged and do not affect metrics or notifications. See Verify detection with send-test.
Default is full. Change with:
patcherly context get
patcherly context set full|minimal|off
patcherly context uploadEnv override: PATCHERLY_CONTEXT_CONSENT.
OAuth pairing and per-token HMAC signing; fix payloads are verified before apply. Built-in redaction runs before ingest; you can add custom sanitizer patterns per site.
- Connectors overview
- PHP connector: HMAC
- Prompt injection protection
- Custom sanitizer patterns
- Post-apply restart safety
- Hardening: backup folders
- PHP connector guide - install, systemd/cron, troubleshooting
- Connectors overview · Downloads CDN
- Discord · Dashboard
Proprietary limited-use - run and modify only to connect your own apps to Patcherly; no redistribute or competitive reuse.
Patcherly is a registered trademark, property of Shambix.
Using the Patcherly service is governed by our Terms of Service and Acceptable Use policy. Official product support applies only to unmodified connector releases from our official sources.
