barnythorpe / wp-entities
A more modern and type safe system for managing content models in your wordpress project.
0.1.0
2025-07-07 16:56 UTC
Requires
- barnythorpe/fluent-wp: ^0.1.0
- spatie/schema-org: ^3.23
- stoutlogic/acf-builder: ^1.12
- symfony/string: ^7.2
Requires (Dev)
- laravel/pint: ^1.21
- pestphp/pest: ^3.8
- php-stubs/acf-pro-stubs: ^6.3
- php-stubs/wordpress-seo-stubs: ^20.5
- php-stubs/wordpress-stubs: ^6.8
- phpstan/phpstan: ^2.1
- symfony/var-dumper: ^7.2
- yoast/phpunit-polyfills: ^4.0
README
Note
This package is currently a pre-release and as such isn't stable
A more modern and type safe system for managing content models in your wordpress project.
Installation
Install via composer using the following:
composer require barnythorpe/wp-entities
Usage
Extend the following abstract classes to create a model:
Examples can be found in the following: