The source and tests live in packages/http
in the thesis-php/thesis monorepo.
On each push to main, CI copies the files Composer installs to this read-only repository.
Issues and pull requests are disabled here: open them in the monorepo.
The next split overwrites commits made here.
Report a bug or request a feature in the monorepo.
Choose thesis/http. For bugs, include the version, code to reproduce the bug, and the
expected and actual results. See SECURITY.md to report a vulnerability privately.
Use Git, Docker and Make. Containers use the monorepo's PHP version.
- Fork thesis-php/thesis and clone your fork.
- Install the dependencies:
make i. - Change the code in
packages/http/src/and its tests inpackages/http/tests/. Cover each change with a test. - Check the package while you work:
make test P=httpruns its tests and starts the services they need,make phpstan P=httpruns static analysis,make fix P=httpapplies Rector and the code style.
- A change that users of the package can notice gets an entry under
## [Unreleased]ofpackages/http/CHANGELOG.md(Keep a Changelog). Leave version headings to the maintainers. - If you changed
packages/http/package.php(dependencies, description, keywords), runmake syncand commit the generated files: CI fails on any difference. - Run
make check, which runs everything CI runs, and open a pull request tomainin the monorepo.
The rules of the code and of the monorepo are in
AGENTS.md and the files it links.