barnythorpe/fluent-wp

A package with auto-generated fluent objects for various Wordpress configurations.

0.1.0 2025-06-26 15:51 UTC

This package is auto-updated.

Last update: 2025-06-26 16:06:25 UTC


README

A composer package for wordpress aiming to improve developer experience by creating fluent style objects for various wp configurations.

📖 About

This package auto-generates fluent style classes and in some cases DTOs for several different areas:

  • Blocks - This primarily surrounds Gutenberg Block attributes construction when registering blocks.
  • Models - This revolves around the construction of post types and taxonomies.
  • Query - A DSL to make building wp queries (posts, terms, users) simple, readable and safe.

📦 Installation

You’ll need Composer installed.

composer require barnythorpe/fluent-wp