mbran / acf-blocks-cli
There is no license information available for the latest version (1.0.1) of this package.
A command line interface for managing ACF blocks in WordPress.
1.0.1
2025-08-01 20:15 UTC
Requires
- php: >=8.1
- symfony/console: ^6.0
This package is auto-updated.
Last update: 2026-03-01 00:47:58 UTC
README
A CLI tool for quickly generating ACF (Advanced Custom Fields) blocks for WordPress.
This tool creates a block scaffold with all necessary files: block.json, register.php, PHP template, and optionally SCSS and fields.json.
Requirements
- PHP >= 8.1
- Composer
- WordPress with ACF Pro (required for blocks to work)
Installation
Install the package locally or globally via Composer:
composer require mbran/acf-blocks-cli
Usage
Run the CLI using
php vendor/bin/acf-blocks-cli make:block