# Command Runbook

Run these on the deployed/staging server where Composer and the production-like PHP runtime are available.

## Syntax

```powershell
php -l public/index.php
php -l public/mvp.php
```

## PHP / Composer

```powershell
php vendor/bin/phpunit
php composer.phar validate --strict
php composer.phar audit --locked
```

## Application Readiness

```powershell
php bin/check-mvp-smoke --base-url=https://YOUR-DOMAIN.example
php bin/check-local-live-run --base-url=https://YOUR-DOMAIN.example
php bin/check-frontend-links --base-url=https://YOUR-DOMAIN.example
php bin/check-stripe-readiness
php bin/check-deployment-readiness
php bin/check-production-launch
```

## Database

```powershell
php bin/install-database --no-seed
```

Never run `--fresh` against production. It drops data and should only be used for disposable local environments.

## Latest Local Evidence To Reconcile

- PHPUnit source suite: `732 tests / 2703 assertions`
- Frontend links: `424 checked / 0 issues`
- Composer validate: passed
- Composer audit: blocked locally by Packagist/network routing; rerun on normal network
- Stripe readiness: not ready until env/webhook/connected account configured
