automattic/jetpack-blocks

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

Installs: 21 304

Dependents: 3

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 1

Type:jetpack-library


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)