README: what Composer installs

This commit is contained in:
Matthijs Iriks committed 2026-12-04 01:49:01 +01:00
1 parent fb0caac84e
commit 476311544f
1 file changed
+7
+7
View File
@@ -117,3 +117,10 @@ Nobody opens a pull request to `develop`, and `production` and the release branc
Secrets of the repository for this: `DEPLOY_TOKEN` (the organisation has it), and `PACKAGIST_USERNAME` and
`PACKAGIST_TOKEN` once the package is submitted on packagist.org (until then that step only says so).
## What Composer installs
`.gitattributes` leaves what only belongs to the repository out of the package (`export-ignore`): `.gitea/`,
`dev/`, `scripts/`, `tests/`, `TOKENS.md`, `AGENTS.md`, `phpunit.xml` and the dotfiles. They stay in the repository.
Packagist builds the archive from `git archive`, so what a site installs is `src/`, `config/`, `routes/`,
`resources/`, `composer.json`, `README.md` and `CHANGELOG.md`. Check it with `git archive HEAD | tar -t`.