Commit composer.lock and use composer install for reproducible PHP deploys
Commit composer.lock and run composer install—not composer update—to keep PHP dependency installs deterministic across CI and production.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Commit composer.lock and run composer install—not composer update—to keep PHP dependency installs deterministic across CI and production.
A task guide for pointing PhpStorm at a local PHP CLI binary, indexing Composer dependencies, and running PHPUnit from the editor gutter instead of the terminal.
A practical guide to decide between a Composer‑based extension bundle and a classic local extension for Contao 5/6, with trade‑offs, a comparison table, and verification steps.
A concise guide to picking the optimal Composer autoloading type—classmap, PSR‑4, or hybrid—based on project size, performance needs, and maintenance effort, with step‑by‑step implementation.
Gate your PHP dependencies with composer audit in CI pipelines. Learn how to integrate Composer's built-in security scanner, verify your environment, and handle the limitations of known-vulnerability detection.
Composer's config.platform setting pins PHP and extension versions in composer.json so dependency resolution stays consistent across development, CI, and production.
Switch Composer to classmap-authoritative mode to eliminate filesystem scans during class loading in production. This guide covers enabling the setting, regenerating the optimized autoloader, verifying the classmap covers all classes, and rollback steps if dynamic class discovery breaks.
Choose between Composer PSR-4, classmap, and optimized autoloader builds based on runtime speed, build pipeline constraints, and dynamic class loading needs.
When PHP apps start up, Composer’s default autoloader can add latency. The <code>--optimize-autoloader</code> flag pre‑builds a classmap, cutting file lookups and speeding the first request. Learn how it works, when to use it, and how to verify the gains.