PHPackages                             humanmade/hm-flourish-block - 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. humanmade/hm-flourish-block

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

humanmade/hm-flourish-block
===========================

Embed Flourish visualisations and stories.

1.5.0(1mo ago)095GPL-2.0-or-laterPHP

Since Feb 20Pushed 1mo agoCompare

[ Source](https://github.com/humanmade/hm-flourish-embed-block)[ Packagist](https://packagist.org/packages/humanmade/hm-flourish-block)[ RSS](/packages/humanmade-hm-flourish-block/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)DependenciesVersions (11)Used By (0)

Flourish Block
==============

[](#flourish-block)

A WordPress block plugin for embedding Flourish data visualizations.

Setup
-----

[](#setup)

1. Install dependencies:

```
npm install
```

2. Build the block:

```
npm run build
```

3. For development with automatic rebuilds:

```
npm start
```

Project Structure
-----------------

[](#project-structure)

- `src/index.js` - Main entry point, registers the block with the editor
- `src/style.scss` - Frontend styles for the block
- `src/editor.scss` - Editor-only styles
- `inc/blocks.php` - PHP block registration and render callback
- `inc/namespace.php` - Plugin namespace and hook setup
- `build/` - Compiled assets (generated by npm build)

How It Works
------------

[](#how-it-works)

- The block is registered as a **dynamic block**, meaning it's rendered server-side by PHP
- The editor shows a placeholder since `save() => null`
- The Flourish embed script is registered and enqueued only once via `wp_register_script()` and `wp_enqueue_script()` to avoid duplicates
- The render callback outputs the Flourish embed HTML with the specified visualization ID

###  Health Score

41

—

FairBetter than 88% of packages

Maintenance95

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~3 days

Total

8

Last Release

52d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/494927?v=4)[Matthew Haines-Young](/maintainers/mattheu)[@mattheu](https://github.com/mattheu)

---

Top Contributors

[![mattheu](https://avatars.githubusercontent.com/u/494927?v=4)](https://github.com/mattheu "mattheu (18 commits)")

### Embed Badge

![Health badge](/badges/humanmade-hm-flourish-block/health.svg)

```
[![Health](https://phpackages.com/badges/humanmade-hm-flourish-block/health.svg)](https://phpackages.com/packages/humanmade-hm-flourish-block)
```

###  Alternatives

[cybercog/laravel-paket

Composer personal web interface. Manage Laravel dependencies without switching to command line!

1753.3k](/packages/cybercog-laravel-paket)[laravel-frontend-presets/inertiajs

A Laravel frontend preset to get you up and running with Inertia.js

1464.5k](/packages/laravel-frontend-presets-inertiajs)[dominicwatts/faker

Console based fake data generator - just generate what you need

413.5k](/packages/dominicwatts-faker)[markwalet/laravel-packagist

A Laravel wrapper for the `spatie/packagist-api` package.

132.1k](/packages/markwalet-laravel-packagist)

PHPackages © 2026

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