Skip to content

List and Inspect Existing Projects

Terminal window
php artisan uplinkr:project:list

Lists projects based on each project’s settings.json and enriches output with state data from state.json.

For each project, the command shows:

  • project name (project) and label (label)
  • project status (enabled or disabled)
  • optional description (description)
  • alert settings as a table (alerts)
  • configured probes/checks as a table (probes)
  • state summary as a table (total_failures, last_notification)
  • --project=: Show only one specific project.
Terminal window
php artisan uplinkr:project:list
Terminal window
php artisan uplinkr:project:list --project=my-project

Project: <project> | <label> | <status>

Status color:

  • enabled is displayed in green
  • disabled (or any non-enabled status) is displayed in red

The Alerts: section is rendered as a table with these columns:

  • Enabled
  • Trigger After Failures
  • Cooldown Minutes
  • Latency Threshold (ms)
  • Trigger After Slow
  • Channels

The probes/checks section is rendered as a table with:

  • Method
  • URL

The State: section is rendered as a table with:

  • Total Failures
  • Last Notification
Project: my-project | Main Website | enabled
Description: Public website monitoring
Alerts:
+---------+------------------------+------------------+------------------------+--------------------+----------+
| Enabled | Trigger After Failures | Cooldown Minutes | Latency Threshold (ms) | Trigger After Slow | Channels |
+---------+------------------------+------------------+------------------------+--------------------+----------+
| true | 5 | 60 | 1000 | 10 | mail,log |
+---------+------------------------+------------------+------------------------+--------------------+----------+
+--------+-------------------------------+
| Method | URL |
+--------+-------------------------------+
| GET | https://example.com/health |
| POST | https://example.com/status |
+--------+-------------------------------+
State:
+----------------+---------------------+
| Total Failures | Last Notification |
+----------------+---------------------+
| 12 | 2026-02-28 05:15:02 |
+----------------+---------------------+

The command returns an error and prints all available project names:

Project "missing-project" not found. Please check the spelling.
Available projects:
- my-project
- api-service
  • 0 (SUCCESS): List displayed successfully
  • 1 (FAILURE): Selected project was not found