Skip to content

repo: collapse monorepo to single xphp package#13

Merged
math3usmartins merged 2 commits into
mainfrom
split-repos
Jun 1, 2026
Merged

repo: collapse monorepo to single xphp package#13
math3usmartins merged 2 commits into
mainfrom
split-repos

Conversation

@math3usmartins
Copy link
Copy Markdown
Contributor

tools and playground code will live on their own repo

@math3usmartins math3usmartins force-pushed the split-repos branch 5 times, most recently from 57f1b0d to 3c01b88 Compare June 1, 2026 19:52
tools and playground code will live on their own repo

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Add `bin: ["bin/xphp"]` so `composer require xphp-lang/xphp`
  installs the CLI into the consumer's `vendor/bin/`.
- Split `autoload` so `test/` only loads under `autoload-dev` --
  test sources shouldn't pollute consumers' classmaps.
- Add `keywords`, `homepage`, and `support` for Packagist search
  ranking and to surface the issue tracker on the package page.
- Drop `config.platform.php`. The pin made dev resolution
  deterministic locally, but baking it into a published package
  narrows consumer environments unnecessarily; `require.php` already
  declares the floor.
- Normalise key ordering to the conventional Composer layout
  (name -> description -> type -> keywords -> homepage -> license
  -> authors -> support -> require -> require-dev -> autoload ->
  autoload-dev -> bin -> config).

Locally verified: `composer validate --strict` passes, lockfile
regenerated via `composer update --lock` with zero installed-package
churn, full PHPUnit suite (184 tests, 495 assertions) green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@math3usmartins math3usmartins merged commit cd45ad0 into main Jun 1, 2026
2 checks passed
@math3usmartins math3usmartins deleted the split-repos branch June 1, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant