Composer conventions for any PHP project: dependency management, version constraints, PSR-4 autoloading, scripts, platform requirements, and the composer.json vs composer.lock contract. Stack-agnostic — referenced by every PHP plugin in the marketplace.
Use this skill to:
- Read composer.json to detect the PHP version, framework, and key packages before writing code.
- Add dependencies with correct version constraints and the right require vs require-dev placement.
- Configure PSR-4 autoloading and regenerate the autoloader after adding namespaces.
- Use composer scripts and platform config consistently.
Do NOT use this skill for:
- PHP language idioms — see php-foundat…