Skip to content

Add Composer-installable WordPress query argument builders - #1

Open
ephpicman wants to merge 67 commits into
mainfrom
feature/wordpress-query-argument-builders
Open

ephpicman wants to merge 67 commits into
mainfrom
feature/wordpress-query-argument-builders

Conversation

@ephpicman

@ephpicman ephpicman commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Port the existing WordPress query argument builders from Vertex Framework into this standalone package.
  • Provide fluent builders for the core WordPress query APIs.
  • Preserve all constructor-supplied arguments and provide set() / setMany() pass-through methods for additional core and custom query variables.
  • Complete date query helpers, including array-valued date parts and comparison operators.
  • Correct Comment Query author inclusion/exclusion argument names.
  • Preserve WordPress argument types, including multiple user meta keys.
  • Include PHPUnit tests, Composer metadata, package documentation, and a PHP compatibility CI matrix.

Scope

This PR provides argument builders only. Builders produce arrays for WordPress APIs; they do not execute queries or provide an ORM. WordPress remains responsible for interpreting the arguments and running the query.

It does not add direct SQL access, custom-table CRUD, repositories, models, or migrations.

Validation

GitHub Actions runs Composer validation and the unit suite across PHP 8.0–8.5.

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