pollora/query
Pollora Query brings Laravel-style, fluent query building to WordPress. Compose WP_Query-powered post, term, and user queries through an expressive API, with clean integration for Pollora and Laravel applications. It supports familiar WordPress concepts while fitting neatly into Laravel projects.
WP_Query, not as strategic product infrastructure. Buy/adopt only where it removes repetitive query-argument boilerplate.Consider it when:
WP_Query calls.WP_Query semantics and wants less repetitive PHP array construction.Look elsewhere when:
WP_Query or a small internal wrapper would be simpler and more transparent.Executive summary: This is a low-cost, MIT-licensed developer utility that makes WordPress content queries more readable. It can speed up delivery for WordPress-backed features, but it is not a strategic platform dependency and has limited community validation. Recommend a constrained pilot in a non-critical area, with an internal abstraction layer and a fallback to native WP_Query.
Engineering summary: Treat pollora/query as syntactic sugar over WP_Query. Use it only behind a project-owned query adapter, pin the version, review the source and tests, and add contract tests around generated query behavior. Validate all user input, monitor query performance, and avoid letting the package become the only place where query semantics live. If the repository, release history, or maintenance activity cannot be verified, default to native WP_Query or a small internal fluent wrapper.
How can I help you explore Laravel packages today?