Developer Tools
In-depth guides and analysis on developer tools from the Safeguard engineering team.
2959 articles
How do you see every dependency in a Conan project, including transitive?
conan graph info prints the resolved dependency graph as JSON, HTML or a Graphviz file. How to use it to answer which libraries you pull in and why.
What does conan audit check, and how do you run it?
conan audit scan checks recipes and their transitive dependencies for known vulnerabilities. What it covers, how the threshold works and its limits.
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.
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.