Security package update
Execute from: Vendor updates playbook for vendor-owned packages; this runbook is the security-audit fix card.
composer audit or npm audit reports a vulnerability you intend to fix now.
Phase 0 — production safety
Section titled “Phase 0 — production safety”👤 Create a Hostinger (or host) backup in hPanel before local changes.
Local branch + update
Section titled “Local branch + update”cp composer.lock composer.lock.backupgit checkout develop && git pullgit checkout -b security-update/<package>-$(date +%Y%m%d)
composer update <vendor/package> --with-dependencies# npm: cp package-lock.json package-lock.json.backup && npm audit fixAutomated gate (all must pass)
Section titled “Automated gate (all must pass)”php artisan list > /dev/null && echo OK bootsphp artisan route:list > /dev/null && echo OK routesphp artisan config:cache > /dev/null && echo OK configphp artisan view:cache > /dev/null && echo OK viewscomposer dump-autoload > /dev/null && echo OK autoloadnpm run build 2>/dev/null || trueIf any fails → git checkout develop && git branch -D security-update/... and restore lock file.
Merge + deploy
Section titled “Merge + deploy”git checkout develop && git merge security-update/<branch>git push origin develop# Then follow code-test-ship runbook: staging → productionDocument vendor-owned packages in _CUSTOMIZATIONS.md — WF4 vendor merge may conflict.
Abort if
Section titled “Abort if”Any automated check fails · manual smoke test fails · Friday after 3 PM · production backup not confirmed.