Skip to content

Make Composer packages installable - #486

Open
JanJakes wants to merge 3 commits into
trunkfrom
metadata
Open

Make Composer packages installable#486
JanJakes wants to merge 3 commits into
trunkfrom
metadata

Conversation

@JanJakes

@JanJakes JanJakes commented Aug 11, 2026

Copy link
Copy Markdown
Member

Summary

Makes the monorepo's PHP packages ready for standalone Composer installation and discovery.

The changes provide these outcomes:

  • Declare runtime requirements and autoloading for MySQL on SQLite.
  • Connect the MySQL proxy to its driver package and expose its installed CLI binary.
  • Complete package metadata and licensing for MySQL on SQLite, the MySQL parser, and the MySQL proxy.
  • Document and validate standalone installation paths in package documentation and CI.

All Composer manifests, repository coding standards, and the MySQL-on-SQLite, parser, and proxy test suites pass.

Why

The package manifests did not fully declare their runtime requirements, autoloading, relationships, and distribution metadata. The proxy also depended on a repository-local loader path, so installing it as a Composer dependency did not provide a self-contained runtime.

These changes make each package understandable to Composer and let applications consume the driver and proxy outside the monorepo.

Declare the SQLite driver platform requirements and autoload its runtime loader. Make the proxy depend on the driver and use Composer's project autoloader for its installed binary.

Add package manifest validation to the relevant CI workflows.
Load Composer's autoloader in the usage example and remove PCRE from the extension list because PHP always enables it.

https://www.php.net/manual/en/pcre.installation.php
Add package discovery, contributor, support, and license metadata. Include the GPL text in each standalone package and disable lock-file generation where lock files are intentionally not maintained.
@JanJakes
JanJakes marked this pull request as ready for review August 11, 2026 15:39
@JanJakes JanJakes mentioned this pull request Aug 11, 2026
14 tasks
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