automattic/jetpack-blocks
Register and manage blocks within a plugin. Used to manage block registration, enqueues, and more.
Maintainers
Package info
github.com/Automattic/jetpack-blocks
Type:jetpack-library
pkg:composer/automattic/jetpack-blocks
Requires
- php: >=7.2
- automattic/jetpack-constants: ^3.0.12
Requires (Dev)
- automattic/jetpack-test-environment: @dev
- automattic/phpunit-select-config: ^1.0.8
- brain/monkey: ^2.6.2
- yoast/phpunit-polyfills: ^4.0.0
Suggests
- automattic/jetpack-autoloader: Allow for better interoperability with other plugins that use this package.
Provides
None
Conflicts
None
Replaces
None
GPL-2.0-or-later d0c4df3ce7d34041e5442e839ec04692af0c3f97
This package is auto-updated.
Last update: 2026-06-15 23:58:49 UTC
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)
