automattic/jetpack-blocks

Register and manage blocks within a plugin. Used to manage block registration, enqueues, and more.

Package info

github.com/Automattic/jetpack-blocks

Type:jetpack-library

pkg:composer/automattic/jetpack-blocks

Statistics

Installs: 34 921

Dependents: 7

Suggesters: 0

Stars: 7

v3.3.5 2026-06-09 12:29 UTC

Requires

Requires (Dev)

Suggests

Provides

None

Conflicts

None

Replaces

None

GPL-2.0-or-later d0c4df3ce7d34041e5442e839ec04692af0c3f97


README

Register and manage blocks within a plugin. Used to manage block registration, enqueues, and more.

Usage

Development

Running tests requires working svn, composer and pnpm commands.

Once these are installed, you install the composer dependencies by running:

$ composer install --ignore-platform-reqs

Run PHP unit tests

On a local development environment run:

$ composer phpunit

Using this package in your WordPress plugin

If you plan on using this package in your WordPress plugin, we would recommend that you use Jetpack Autoloader as your autoloader. This will allow for maximum interoperability with other plugins that use this package as well.

Security

Need to report a security vulnerability? Go to https://automattic.com/security/ or directly to our security bug bounty site https://hackerone.com/automattic.

License

jetpack-blocks is licensed under GNU General Public License v2 (or later)