To contribute to the docs, fork the composer/composer repository and add or change a file in the doc directory. Documentation sources can be browsed at https://github.com/composer/composer/tree/main/doc
Documentation is then automatically generated on getcomposer.org
This is a Symfony project.
The easiest way to run this project is to install Symfony-cli and run the project using Symfony.
If you encounter issues with HTTPS/SSL, you can automatically install a self-signed certificate using symfony server:ca:install.
For Symfony to run, you need to create a JSON file in /web called versions (no extension). It should contain at least the following:
{
"stable": [{ "version": "<composer version>" }],
"preview": [{ "version": "<composer version>" }]
}Note
<composer version> is a Semantic Versioning string for a Composer version, e.g. "2.8.9".
Assets are generated using Node's esbuild.
To change JS and CSS, make sure you run npm install first and then use
npm run dev or npm run build to build new assets from the sources with watch mode on.
The output of build should be committed to be deployed, but please do not commit it if you are sending a pull request.