yard / wp-block-registrar
An Acorn package for WordPress block registration.
Package info
github.com/yardinternet/wp-block-registrar
Type:package
pkg:composer/yard/wp-block-registrar
v1.0.2
2025-06-24 10:23 UTC
Requires
- php: >=8.1
- roots/acorn: ^4.3
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- 10up/wp_mock: ^0.4.2
- larastan/larastan: ^2.9
- orchestra/testbench: ^8.27
- pestphp/pest: ^2.36
- szepeviktor/phpstan-wordpress: ^1.3
- yard/php-cs-fixer-rules: ^1.0
This package is auto-updated.
Last update: 2026-03-07 03:02:55 UTC
README
An Acorn package for WordPress (Gutenberg) block registration.
Features
- Register client side and server side blocks from config See config for all configuration options.
Requirements
Installation
To install this package using Composer, follow these steps:
-
Install this package with Composer:
composer require yard/wp-block-registrar
-
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\Block\BlockServiceProvider"