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

[bertptrs/phpstreams

A streams library for PHP based on the Java 8 Streams API.

883.2k](/packages/bertptrs-phpstreams)[cheprasov/php-parallel

The class allows you to run multiple operations parallel in different processes and send results to the main process. Useful if you need to run multiple independent operations simultaneously, instead of sequential execution, or if you run several independent queries, for example, queries to different data bases

1712.5k5](/packages/cheprasov-php-parallel)

PHPackages © 2026

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