Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
Composer platform config vs platform-check: what is the difference?
The platform setting fakes PHP and extension versions during resolution. platform-check verifies the real runtime. Why you want both, and a deploy test.
What do Composer minimum-stability and prefer-stable do?
minimum-stability sets the least stable release Composer may pick, default stable. prefer-stable favours stable ones. How to keep dev branches out.
What does the Composer lock file out of date warning mean?
The warning means composer.json changed and composer.lock did not. Run composer validate, then update the lock file on purpose and commit both files.
Composer install vs update: which should CI and production run?
CI and production should run composer install, which follows composer.lock. Run composer update on purpose, in a reviewed change. Reasons and flags.
composer install or composer update in production: which is safe?
Use composer install with a committed lock file in production. Update resolves new versions and rewrites the lock. What each does and why it matters.
Caret or tilde in composer.json: which version constraint is safer?
Caret allows non breaking updates up to the next major. Tilde is tighter on the last digit you write. What each allows, and why open ranges are risky.
What does Composer autoloading load, and what is classmap-authoritative?
Composer autoloading maps classes to files with psr-4, classmap and files rules. See which run code on every request and what classmap-authoritative does.
How do I run composer audit in CI, and what do its options do?
composer audit checks advisories and exits 1 on findings. Which options matter in CI: the locked flag, no-dev, abandoned handling and severity filters.
How do you make composer audit fail a CI build, and when should it?
composer audit exits 0 when clean and 1 on advisories or policy matches. How to wire it into CI, tune abandoned package handling and avoid noise.
Hardening flags: which belong in production and which in development
Some C and C++ flags catch bugs during development, others change how shipped code behaves. A sorting guide based on the OpenSSF hardening notes.
How do you compare open source dependency scanners fairly?
Seven questions that expose real differences between open source dependency scanners, using what two OWASP and OSV project pages say about how they work.
How to compare dependency scanners in a one week trial
A one week plan to compare dependency scanners on your own code: pick test repos, seed known issues, measure noise, and score what matters to your team.
Self-healing security runs on Safeguard.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.