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

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

mecha-cms/x.p-h-p
=================

Evaluates PHP syntax within the page content.

v1.1.1(2y ago)04GPL-3.0-or-laterPHP

Since Jun 13Pushed 2y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (1)Versions (3)Used By (0)

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

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

[![Code Size](https://camo.githubusercontent.com/d95b79af06d5892615d30f0baf77e8156ddf52b3913aa497223898925966aaf7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6d656368612d636d732f782e702d682d703f636f6c6f723d253233343434267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/d95b79af06d5892615d30f0baf77e8156ddf52b3913aa497223898925966aaf7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6d656368612d636d732f782e702d682d703f636f6c6f723d253233343434267374796c653d666f722d7468652d6261646765)

If you don’t like the [Block](https://github.com/mecha-cms/x.block.e) evaluation method, you can use this extension to evaluate PHP expressions in a page file. It’s just that you have to write the page content as raw HTML, so you can’t combine this extension feature with [Markdown](https://github.com/mecha-cms/x.markdown) extension and the like (unless you’re comfortable implementing the parser directly in your PHP code).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Total

2

Last Release

801d 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 (23 commits)")

---

Tags

evalextensionpagephp

### Embed Badge

![Health badge](/badges/mecha-cms-xp-h-p/health.svg)

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

###  Alternatives

[norkunas/youtube-dl-php

youtube-dl / yt-dlp wrapper for php

512323.2k15](/packages/norkunas-youtube-dl-php)[browner12/helpers

generic helpers

289676.6k7](/packages/browner12-helpers)[kop/yii2-scroll-pager

Infinite AJAX scrolling for Yii2 ListView widget

180706.5k10](/packages/kop-yii2-scroll-pager)[tonysm/importmap-laravel

Use ESM with importmap to manage modern JavaScript in Laravel without transpiling or bundling.

148399.8k1](/packages/tonysm-importmap-laravel)[duncan3dc/fork-helper

Simple class to fork processes in PHP and allow multi-threading

73548.0k4](/packages/duncan3dc-fork-helper)[timothyasp/nova-badge-field

A Laravel Nova field.

58548.0k](/packages/timothyasp-nova-badge-field)

PHPackages © 2026

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