PHPackages                             greenpeace/planet4-gpch-plugin-blocks - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. greenpeace/planet4-gpch-plugin-blocks

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

greenpeace/planet4-gpch-plugin-blocks
=====================================

Provides Planet4 content blocks specific to Greenpeace Switzerland

v1.40(2mo ago)22.6k1[6 PRs](https://github.com/greenpeace/planet4-gpch-plugin-blocks/pulls)MITPHP

Since Apr 17Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/greenpeace/planet4-gpch-plugin-blocks)[ Packagist](https://packagist.org/packages/greenpeace/planet4-gpch-plugin-blocks)[ RSS](/packages/greenpeace-planet4-gpch-plugin-blocks/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (117)Used By (0)

planet4-gpch-plugin-blocks
==========================

[](#planet4-gpch-plugin-blocks)

Content Blocks, specific to the GPCH installation of Planet4.

Install
-------

[](#install)

Install dependencies:

`npm install --save-dev`

`composer install --ignore-platform-reqs`

Coding Standards
----------------

[](#coding-standards)

Any new code added is required to implement [Wordpress coding standards](https://www.privacytools.io)

### Javascript: Use JSHint

[](#javascript-use-jshint)

Set JSHint to use .jshintrc provided in this repository.

**Example for PHPStorm:**

- Settings -&gt; Languages &amp; Frameworks -&gt; Javascript -&gt; Code Quality Tools -&gt; JSHint
- ☑ Enable
- ☑ Use config files
- Location: ☑ Default

### Build

[](#build)

Make sure your files are formatted correctly: `npm run format`

Make sure your files pass ESLint with the provided config: `npm run lint:js`

Build files for production: `npm run build`

Build styles: `sass assets/css/source/style.scss assets/css/style.css --style=compressed`

### Autoloader

[](#autoloader)

To generate autoload files, run `composer dump-autoload`

### Translations

[](#translations)

1. Generate .pot files: Use [wp-cli](https://developer.wordpress.org/cli/commands/i18n/make-pot/) or [PoEdit](https://developer.wordpress.org/cli/commands/i18n/make-pot/). PoEdit is the preferred option as it reads strings from all files including Twig templates.
2. Create the .po and .mo files for each language using Poedit
3. Transform the po files into additional JSON for use with Javascript.

See [the guide in dev docs](https://developer.wordpress.org/block-editor/how-to-guides/internationalization/)

Example: wp i18n make-json planet4-gpch-plugin-blocks-de\_CH.po --no-purge

Then rename the files to use the handle instead of the auto generated md5 string in the filename.

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance87

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 94.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~29 days

Recently: every ~63 days

Total

87

Last Release

63d ago

Major Versions

v0.1.25 → v1.0.262020-04-20

v0.1.44 → v1.0.02021-05-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/73b0188184085e27029f0917c76dbc21e87c206c01909c3e931d53adf0bb3b3c?d=identicon)[sagarsdeshmukh](/maintainers/sagarsdeshmukh)

![](https://avatars.githubusercontent.com/u/939357?v=4)[Nikos Roussos](/maintainers/comzeradd)[@comzeradd](https://github.com/comzeradd)

![](https://www.gravatar.com/avatar/f46f9074cd5957ff3c044de08bdd6c759aff677d3327ed3ae43a728aa93c9f7b?d=identicon)[stduerre](/maintainers/stduerre)

---

Top Contributors

[![stduerre](https://avatars.githubusercontent.com/u/46678842?v=4)](https://github.com/stduerre "stduerre (505 commits)")[![stefanduerrenberger](https://avatars.githubusercontent.com/u/76908?v=4)](https://github.com/stefanduerrenberger "stefanduerrenberger (25 commits)")[![comzeradd](https://avatars.githubusercontent.com/u/939357?v=4)](https://github.com/comzeradd "comzeradd (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/greenpeace-planet4-gpch-plugin-blocks/health.svg)

```
[![Health](https://phpackages.com/badges/greenpeace-planet4-gpch-plugin-blocks/health.svg)](https://phpackages.com/packages/greenpeace-planet4-gpch-plugin-blocks)
```

###  Alternatives

[contributte/neonizer

Collection of useful scripts for manipulaton with NEON files. Support composer pre-install / post-install events. Set/get parameters, validate files.

14849.4k](/packages/contributte-neonizer)[php-mcp/schema

PHP Data Transfer Objects (DTOs) and Enums for the Model Context Protocol (MCP) schema.

18221.6k4](/packages/php-mcp-schema)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
