Skip to content

Files

Latest commit

b6345d7 · May 29, 2025

History

History
43 lines (27 loc) · 1.57 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.57 KB

getcomposer.org sources

Contribute

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

Run this project locally

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.

Versions

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".

JS / CSS

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.