yard / brave-acf
Package to register ACF field groups, forms and option pages in a Laravel way.
v1.3.0
2026-09-02 12:34 UTC
Requires
- php: >=8.2
- roots/acorn: ^4.0 || ^5.0
- spatie/laravel-package-tools: ^1.16
- yard/acf-registrar: ^2.0
Requires (Dev)
- 10up/wp_mock: ^0.4.2
- larastan/larastan: ^3.0
- orchestra/testbench: ^10.0 || ^11.0
- pestphp/pest: ^3.0 || ^4.0 || ^5.0
- phpstan/extension-installer: ^1.4
- szepeviktor/phpstan-wordpress: ^2.0
- yard/php-cs-fixer-rules: ^1.0
README
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.