Skip to content

Commands

sentinel:install

Publishes package resources and prints integration instructions.

php artisan sentinel:install --with-views

Options:

  • --with-views
  • --force

sentinel:audit

Runs security checks and warnings.

php artisan sentinel:audit
php artisan sentinel:audit --format=json
php artisan sentinel:audit --format=csv

sentinel:scan

Scans endpoints and compares expected headers vs actual responses.

php artisan sentinel:scan
php artisan sentinel:scan --json
php artisan sentinel:scan --paths=/,/login,/api

sentinel:prune-reports

Deletes old CSP reports.

php artisan sentinel:prune-reports
php artisan sentinel:prune-reports --days=30

Suggested scheduler

$schedule->command('sentinel:prune-reports')->daily();