barnythorpe / fluent-wp
A package with auto-generated fluent objects for various Wordpress configurations.
0.1.0
2025-06-26 15:51 UTC
Requires (Dev)
- barnythorpe/clarify: ^0.1.0
- laravel/pint: ^1.22
- mockery/mockery: ^1.6
- nette/php-generator: ^4.1
- pestphp/pest: ^3.8
- php-stubs/wordpress-stubs: ^6.7
- phpdocumentor/reflection-docblock: ^5.6
- phpdocumentor/type-resolver: ^1.10
- phpstan/phpstan: ^2.1
- roots/wordpress: ^6.7
- ryangjchandler/lexical: ^0.2.1
- symfony/property-access: ^7.2
- symfony/string: ^7.2
- symfony/var-dumper: ^7.2
- twig/string-extra: ^3.20
- twig/twig: ^3.20
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