pollora/entity
Pollora Entity brings a fluent, Eloquent-style entity layer to WordPress development, letting you model posts, terms, and users as expressive PHP objects. Query, relate, and manipulate content with clean, type-safe APIs while retaining full compatibility with WordPress internals.
pollora/entity is a thin, MIT-licensed abstraction for registering WordPress custom post types and taxonomies in PHP. It shifts the decision from "write our own registration layer" to "adopt and wrap a small dependency," which is attractive when the alternative is 300–800 lines of bespoke register_post_type() boilerplate spread across a codebase.Consider it when:
Look elsewhere when:
Risk notes to weigh: the release date is forward-dated, adoption is effectively zero, and there is a single apparent maintainer. Treat this as an early-stage internal-quality dependency: pin versions, wrap it, and budget a small amount of engineering time to own the abstraction if upstream goes quiet.
For executives: This is a small, free, permissively licensed PHP package that standardizes how we define structured content in WordPress. It reduces the custom code we write for features like directories, resource hubs, and marketplaces, which shortens delivery time on content-heavy roadmap items and lowers long-term maintenance cost. The financial exposure is near zero—MIT license, no procurement, no vendor lock-in—and because the package is small, we can replace or absorb it internally if needed. The real risk is maturity, not money: it is early-stage with minimal adoption, so we should adopt it deliberately, behind our own interface, rather than as a load-bearing dependency.
For engineering: It gives us declarative, testable, version-controlled definitions for post types and taxonomies instead of scattered imperative registration calls. It fits a Laravel/Pollora-style codebase and is easy to reason about. We should wrap it in a thin internal adapter so our domain code does not import it directly—that keeps our options open, makes future replacement a one-file change, and lets us patch upstream behavior locally. We should pin the version, add a smoke test around registration, and assign an owner to review upstream activity each quarter.
Recommendation: Adopt as an evaluated dependency for a bounded pilot on one content-driven feature, wrapped behind an internal abstraction. Revisit at the next planning cycle with pilot results and an upstream health check before expanding to the wider platform.
How can I help you explore Laravel packages today?