PHPackages                             mecha-cms/x.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. mecha-cms/x.block

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mecha-cms/x.block
=================

Placement system.

v2.0.1(2y ago)0184GPL-3.0-or-laterPHP

Since Nov 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mecha-cms/x.block)[ Packagist](https://packagist.org/packages/mecha-cms/x.block)[ RSS](/packages/mecha-cms-xblock/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (3)Used By (4)

Block Extension for [Mecha](https://github.com/mecha-cms/mecha)
===============================================================

[](#block-extension-for-mecha)

[![Code Size](https://camo.githubusercontent.com/f48e69c416f64b00faf5206a7dea1b247e7233b88716862197b202c6782bcee3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6d656368612d636d732f782e626c6f636b3f636f6c6f723d253233343434267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/f48e69c416f64b00faf5206a7dea1b247e7233b88716862197b202c6782bcee3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6d656368612d636d732f782e626c6f636b3f636f6c6f723d253233343434267374796c653d666f722d7468652d6261646765)

Block is a placement system that can be implemented in places where it is not possible to safely parse server-side language syntax directly, such as within the page content. It can usually be written just like normal HTML elements, but with custom enclosing characters. Each block can then be converted into something else via server-side language.

We no longer recommend the use of the block feature. There are many other alternatives that can provide backward-compatible solutions, such as using HTML comments or [Emoji](https://en.wikipedia.org/wiki/Emoji) characters, in the hope that if you decide to remove certain block features in the future, your content data will still be convenient to consume since raw block elements do not appear in the page content. This can minimize the need to maintain pages, especially the old ones that you no longer want to touch.

The purpose of maintaining this extension is to demonstrate that Mecha has the capability to provide this kind of feature. This does not mean that you should use it.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity43

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

Total

2

Last Release

791d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c8f3805cca9aeaeb2e2d6a3bc796f98cd9fa9e36d0a064559ffc716c8ce73f0b?d=identicon)[taufik-nurrohman](/maintainers/taufik-nurrohman)

---

Top Contributors

[![taufik-nurrohman](https://avatars.githubusercontent.com/u/1669261?v=4)](https://github.com/taufik-nurrohman "taufik-nurrohman (85 commits)")

---

Tags

blockextensionplaceholderplacementshortcode

### Embed Badge

![Health badge](/badges/mecha-cms-xblock/health.svg)

```
[![Health](https://phpackages.com/badges/mecha-cms-xblock/health.svg)](https://phpackages.com/packages/mecha-cms-xblock)
```

###  Alternatives

[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)[ender/laravel-ueditor

A laravel package of ueditor,which is baidu's open source WYSIWYG editor

393.4k](/packages/ender-laravel-ueditor)

PHPackages © 2026

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