https://github.com/yardinternet/wp-block-registrar
An Acorn package to register blocks
https://github.com/yardinternet/wp-block-registrar
Last synced: 6 months ago
JSON representation
An Acorn package to register blocks
- Host: GitHub
- URL: https://github.com/yardinternet/wp-block-registrar
- Owner: yardinternet
- License: mit
- Created: 2024-11-18T09:31:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-05T10:19:14.000Z (7 months ago)
- Last Synced: 2025-12-08T19:52:18.947Z (7 months ago)
- Language: PHP
- Size: 539 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# wp-block-registrar
[](https://github.com/yardinternet/wp-blocks-registration/actions/workflows/format-php.yml)
[](https://github.com/yardinternet/wp-blocks-registration/actions/workflows/phpstan.yml)
An Acorn package for WordPress (Gutenberg) block registration.
## Features
- Register client side and server side blocks from config
See [config](./config/blocks.php) for all configuration options.
## Requirements
- [Sage](https://github.com/roots/sage) >= 10.0
- [Acorn](https://github.com/roots/acorn) >= 4.0
## Installation
To install this package using Composer, follow these steps:
1. Install this package with Composer:
```sh
composer require yard/wp-block-registrar
```
2. Run the Acorn WP-CLI command to discover this package:
```shell
wp acorn package:discover
```
You can publish the config file with:
```shell
wp acorn vendor:publish --provider="Yard\Block\BlockServiceProvider"
```
## About us
[](https://www.yard.nl/werken-bij/)