yard / brave-scaffold
Scaffold commands for Brave
Requires
- php: >=8.2
- roots/acorn: ^4.0 || ^5.0
- spatie/laravel-package-tools: ^1.16
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
- szepeviktor/phpstan-wordpress: ^2.0
- yard/php-cs-fixer-rules: ^1.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-02 15:12:40 UTC
README
Requirements
- Sage >= 10.0
Installation
To install this package using Composer, follow these steps:
-
Install this package with Composer:
composer require yard/brave-scaffold
-
Run the Acorn WP-CLI command to discover this package:
wp acorn package:discover
Usage
Content types
This package provides a set of scaffolding commands to help you quickly set up common content types in Brave:
wp acorn scaffold:wp-events wp acorn scaffold:knowledgebase wp acorn scaffold:news wp acorn scaffold:person wp acorn scaffold:project
After scaffolding wp-events, follow these manual steps to complete the setup.
Child Themes
To create a child theme you can run the following command. This will create a child theme directory in
web/app/themes/{slug} that has Sage as the parent theme.
wp acorn scaffold:sage-child {slug}
More information about child themes can be found in Brave and Sage Child Theme Support
Elasticsearch & Reactive Search
wp acorn scaffold:elasticsearch
After scaffolding, follow these manual steps to complete the setup.