health

php mitosis health

Five checks, each printed with a ✓ or ✗ line; exits 0 only if every one passes:

✓ Configuration: .env present
✓ Database connectivity: connected
✓ Writable storage: all storage paths writable
✓ Migration status: up to date
✓ PHP extensions: all present

A real failing run, from a fresh checkout with no .env yet and a pending migration:

✗ Configuration: .env not found
✓ Database connectivity: connected
✗ Writable storage: not writable: storage/userfiles
✗ Migration status: pending: 20260101000000_create_widgets
✓ PHP extensions: all present

See Deployment for exactly what each check verifies and why the checked PHP-extension list is narrower than what your app might actually need depending on which features it uses.

Next steps

  • Deployment — the full explanation of every check, and why this is the deploy acceptance gate.