php-tuf/composer-stager
A PHP library for staging Composer operations in a separate directory before applying them to your project, enabling safer dependency updates, rollback, and testable deployments without touching your active codebase.
composer install/update against live or shared codebases. It should not be treated as a substitute for an atomic release/symlink deployment model unless its staging and promotion behavior is proven to be atomic.2026-07-07), which should be verified before adoption. MIT licensing is favorable, but low adoption means limited community validation, few production case studies, and higher source-audit burden. It reduces risk only if its staging/promotion semantics are demonstrably safer than the current deployment process.vendor/, or only Composer artifacts? Is promotion atomic? Does it lock against concurrent runs? How does it handle symlinks, file ownership, permissions, and OPcache invalidation? Does it roll back on failure? Which PHP/Composer versions and operating systems are tested? Are Composer scripts/plugins executed inside staging, and what prevents side effects? Who maintains it, and is the release/tag pipeline trustworthy?composer.lock, vendor/ contents, autoload output, and Laravel boot/smoke tests before and after staged Composer execution. Only then introduce it into a single low-risk service or hotfix path.vendor/. Large vendor trees, many hosts, or frequent Composer runs increase I/O and disk pressure. Concurrent executions must be serialized; otherwise staging directories and promotion steps can collide.composer.lock diff checks, and a tested rollback path.How can I help you explore Laravel packages today?