PHPackages                             johnhenry/matrix-block-anchor - 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. johnhenry/matrix-block-anchor

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

johnhenry/matrix-block-anchor
=============================

Give editors copy-ready anchor links straight to Matrix blocks, auto-generated or custom, no developer required.

3.3.0(1mo ago)1361MITPHPPHP ^8.2 || ^8.3 || ^8.4CI failing

Since Aug 19Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/john-henry/matrix-block-anchor)[ Packagist](https://packagist.org/packages/johnhenry/matrix-block-anchor)[ Fund](https://www.buymeacoffee.com/john.henry)[ GitHub Sponsors](https://github.com/john-henry)[ RSS](/packages/johnhenry-matrix-block-anchor/feed)WikiDiscussions craft-5 Synced 2w ago

READMEChangelog (10)Dependencies (12)Versions (16)Used By (1)

[![Stable Version](https://camo.githubusercontent.com/f29ff18d06a23d27b17fa59e86eea8b6f0eaa4860e2d64982b1bc934f41e6b4e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6f686e68656e72792f6d61747269782d626c6f636b2d616e63686f723f6c6162656c3d737461626c65267374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/johnhenry/matrix-block-anchor)[![Static Badge](https://camo.githubusercontent.com/5926ddeb7550aec593756a4e006beec5372f54ef5d90d7f8067fb3e0add9e331/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f667265652d706c7567696e3f7374796c653d666f722d7468652d6261646765266c6f676f3d6372616674636d73266c6f676f436f6c6f723d7768697465266c6f676f53697a653d6175746f266c6162656c3d4372616674253230506c7567696e25323053746f7265266c6162656c436f6c6f723d253233453534323242)](https://plugins.craftcms.com/matrix-block-anchor?craft5)

[![matrix-block-anchor-plugin-icon](https://camo.githubusercontent.com/3f2413002266652d552d6f7a97465f52fd080b8f04dc0bceadef7ea9853bd625/68747470733a2f2f6a6f686e68656e72792e69652f696d616765732f706c7567696e732f6d61747269782d626c6f636b2d616e63686f722e737667)](https://camo.githubusercontent.com/3f2413002266652d552d6f7a97465f52fd080b8f04dc0bceadef7ea9853bd625/68747470733a2f2f6a6f686e68656e72792e69652f696d616765732f706c7567696e732f6d61747269782d626c6f636b2d616e63686f722e737667)

Matrix Block Anchor for Craft CMS
=================================

[](#matrix-block-anchor-for-craft-cms)

Matrix Block Anchor gives your editors anchor links straight to Matrix Blocks, no developer required. It grabs the block ID itself, sticks a copy button beside it, and that's your job done.

Features
--------

[](#features)

- **Automatic Anchor Generation** – Grabs the Matrix Block ID and builds the anchor for you, no developer required
- **Custom Anchor Support** – Let editors set their own readable anchors (`#about-us`, `#pricing-section`) instead of the auto-generated ones
- **SEO-Friendly** - Descriptive anchor text helps your SEO, and the links stay put even when content gets reordered
- **Configurable Prefix** – Change the anchor prefix (`blockIdAnchor` by default) to whatever suits your own conventions
- **Validation Built-in** - Anchor IDs must start with a letter, contain only valid characters, and stay unique within an entry
- **Easy Integration** – Drops straight into any Matrix block type, no fuss
- **Copy to Clipboard** - One click and the link's on the clipboard, ready to paste wherever it's needed
- **Legacy Support** – A setting for anyone upgrading from an older version, so your existing links don't break

Perfect For
-----------

[](#perfect-for)

- Matrix-based page builders
- Long-form content with a table of contents
- Single-page sites with section navigation
- Documentation and help centres
- Landing pages with anchor-based navigation

Documentation
-------------

[](#documentation)

Full Documentation can be found at

Requirements
------------

[](#requirements)

- Craft CMS 5.0 or later
- PHP 8.2 or later.

Support
-------

[](#support)

For support, please visit our [GitHub Issues page](https://github.com/john-henry/matrix-block-anchor/issues)

License
-------

[](#license)

This package is licensed for free under the MIT License.

---

[ ![John Henry - Craft CMS Plugins](https://camo.githubusercontent.com/7fe2cde5004b1727e3c7af871108a0f568a276b1c075ddd07c816ffb1cbbcc42/68747470733a2f2f6a6f686e68656e72792e69652f696d616765732f706c7567696e732f6c6f676f2e737667)](https://johnhenry.ie/plugins/)

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance91

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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 ~68 days

Recently: every ~37 days

Total

11

Last Release

43d ago

Major Versions

1.0.1 → 2.0.02024-08-19

1.0.2 → 3.0.02025-11-10

PHP version history (3 changes)1.0.0PHP &gt;=8.0

1.0.1PHP &gt;=8.2

3.2.0PHP ^8.2 || ^8.3 || ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/393817?v=4)[John Henry](/maintainers/johnhenry)[@johnhenry](https://github.com/johnhenry)

---

Top Contributors

[![john-henry](https://avatars.githubusercontent.com/u/44709?v=4)](https://github.com/john-henry "john-henry (41 commits)")

---

Tags

craftcraft-plugincraft5craftcmsmatrixcmsCraftcraftcmscraft-pluginanchor

### Embed Badge

![Health badge](/badges/johnhenry-matrix-block-anchor/health.svg)

```
[![Health](https://phpackages.com/badges/johnhenry-matrix-block-anchor/health.svg)](https://phpackages.com/packages/johnhenry-matrix-block-anchor)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

101400.6k78](/packages/verbb-formie)[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

393818.3k12](/packages/spicyweb-craft-neo)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M73](/packages/nystudio107-craft-seomatic)[verbb/hyper

A user-friendly links field for Craft.

24153.5k14](/packages/verbb-hyper)[verbb/vizy

A flexible visual editor field for Craft.

4251.5k1](/packages/verbb-vizy)[verbb/comments

Add comments to your site.

13754.0k1](/packages/verbb-comments)

PHPackages © 2026

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