Search by

mbran / acf-blocks-cli

miloszbranewicz

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

This package is auto-updated.

Last update: 2026-09-29 03:16:37 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