Pick what to watch
Choose one high-value file — often app/Providers/AppServiceProvider.php — that an attacker would edit to inject code. Record its hash at a clean deploy:
sha256sum app/Providers/AppServiceProvider.php
Store that digest in .env as INTEGRITY_MONITOR_HASH.
[!CHECKPOINT] Baseline hash Compute the hash twice. They must match. Put the value in
.envbefore writing any code.