Skip to main content

Commands

Run checks​

This is the command that runs checks that are due.

Use it with the --all flag to force all checks to run, even if they're not due yet.

php artisan appkeep:run

+---------------------+---------+--------------------------------------------------------------+
| Check | Outcome | Message |
+---------------------+---------+--------------------------------------------------------------+
| ProductionModeCheck | 🚨 | APP_DEBUG is true. Always turn off debug mode in production! |
| StorageCheck | βœ… OK | |
| DatabaseCheck | βœ… OK | |
| CacheCheck | 🚨 | Connection refused |
| DiskUsageCheck | ⚠️ | Your disk is getting full! |
| OptimizationCheck | ⚠️ | Missing optimizations: Routes, Config, Events |
+---------------------+---------+--------------------------------------------------------------+

If your APPKEEP_KEYΒ is set, the command will also submit the results to App:keep servers.

List all checks​

Run this command to see a complete list of configured checks.

php artisan appkeep:list

# +----------------+------------+
# | Check | Expression |
# +----------------+------------+
# | DatabaseCheck | * * * * * |
# | DiskUsageCheck | * * * * * |
# +----------------+------------+