Planet4 - GPNL Gutenberg Blocks archived
Contains the Gutenberg blocks that are used by Planet4 project.
by Greenpeace Netherlands · github.com/greenpeace/planet4-gpnl-plugin-gutenberg-blocks · website
★ 0stars
1.5kcomposer installs
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/greenpeace/planet4-gpnl-plugin-gutenberg-blocks/archive/refs/heads/develop.zipAlso on Packagist as greenpeace/planet4-gpnl-plugin-gutenberg-blocks:
composer require greenpeace/planet4-gpnl-plugin-gutenberg-blocksFrom the readme
Greenpeace P4NL Gutenberg Blocks Plugin
! WorkInProgress
Contents
- Introduction
- Composer
- Code Standards
- Contribute
Introduction
This WordPress plugin provides the necessary blocks to be used with Gutenberg with Twig.
Composer
We use composer as dependency manager for the this plugin.
To install dependencies run
$ composer install
Code standards
We follow the WordPress Coding Standards
We use a custom php codesniffer ruleset which adds some rules over WordPress-Core, WordPress-Docs and WordPress-Extra rulesets.
WordPress Coding Standards Rulesets
WordPress Coding Standards Wiki
To run the php codesniffer
$ vendor/bin/phpcs
or
$ composer sniffs
To run the php code beautifier and fixer
$ vendor/bin/phpcbf
or
$ composer fixes
Contribute
Please read the Contribution Guidelines for Planet4.
Commit guidelines
Included is a githook (commit-msg) which is run to ensure standardized commit messages. Conventional commits is used as the convention.
In short:
Section | Explanation
----|----
'Maintenance' type | Revert Merge
Type | build docs feat fix perf refactor style test chore
Scope | Optional explanation of the scope of the change ie ux ui admin etc
Breaking ch
Read the full README on GitHub →