yard / brave-acf
Package to register ACF field groups, forms and option pages in a Laravel way.
v1.1.0
2026-04-14 09:02 UTC
Requires
- php: >=8.2
- roots/acorn: ^4.3
- spatie/laravel-package-tools: ^1.16
- yard/acf-registrar: ^2.0
Requires (Dev)
- 10up/wp_mock: ^0.4.2
- larastan/larastan: ^2.9
- orchestra/testbench: ^8.27
- pestphp/pest: ^2.36
- phpstan/extension-installer: ^1.4
- szepeviktor/phpstan-wordpress: ^1.3
- yard/php-cs-fixer-rules: ^1.0
README
Requirements
- Acorn >= 4.0
Features
- Register ACF Field groups from config
- Register ACF Forms from config
- Register ACF Option pages from config
Installation
To install this package using Composer, follow these steps:
-
Install this package with Composer:
composer require yard/brave-acf
-
Run the Acorn WP-CLI command to discover this package:
wp acorn package:discover
You can publish the config file with:
wp acorn vendor:publish --provider="Yard\Acf\AcfServiceProvider"
Usage
This package leverages wp-acf-registrar for registration of field groups, forms and option pages. Add your custom acf classes to the configuration file to register them automatically.