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.

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/mbran/acf-blocks-cli

1.0.1 2025-08-01 20:15 UTC

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