mbran / acf-blocks-cli
A command line interface for managing ACF blocks in WordPress.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/mbran/acf-blocks-cli
Requires
- php: >=8.1
- symfony/console: ^6.0
This package is auto-updated.
Last update: 2026-01-31 00:44:38 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