PHPackages                             pentagonal/php-evaluator - 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. pentagonal/php-evaluator

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

pentagonal/php-evaluator
========================

Evaluate php content by string

1.0.1(8y ago)1951MITPHPPHP ^7.0

Since Mar 27Pushed 8y agoCompare

[ Source](https://github.com/pentagonal/PhpEvaluator)[ Packagist](https://packagist.org/packages/pentagonal/php-evaluator)[ RSS](/packages/pentagonal-php-evaluator/feed)WikiDiscussions 1.0 Synced 3d ago

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

PHP EVALUATOR
=============

[](#php-evaluator)

Evaluate php content by string.

Only test for full coded php files.

[![Build Status](https://camo.githubusercontent.com/38f7fa43b9e5d2cbb2364ee56c03fa9dbdddaad8942f4e03864be849e8caf1cd/68747470733a2f2f7472617669732d63692e6f72672f70656e7461676f6e616c2f5068704576616c7561746f722e7376673f6272616e63683d312e30)](https://travis-ci.org/pentagonal/PhpEvaluator?branch=1.0)[![Coverage Status](https://camo.githubusercontent.com/a1eea0b3493e7788e7d89e1b27e1774cd6c90af67130dc413ba3823c7bdbebc6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f70656e7461676f6e616c2f5068704576616c7561746f722f62616467652e7376673f6272616e63683d312e30)](https://coveralls.io/github/pentagonal/PhpEvaluator?branch=1.0)

COMPOSER
--------

[](#composer)

```
{
  "require": {
    "pentagonal/php-evaluator": "~1"
  }
}
```

LICENSE
-------

[](#license)

MIT [LICENSE](LICENSE)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

2970d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9ef5a4dbd9c0d974af6124d09d570282b6cd4494c4f31c04ae299855e9ba6f3?d=identicon)[pentagonal](/maintainers/pentagonal)

---

Top Contributors

[![pentagonal](https://avatars.githubusercontent.com/u/17354203?v=4)](https://github.com/pentagonal "pentagonal (3 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/pentagonal-php-evaluator/health.svg)

```
[![Health](https://phpackages.com/badges/pentagonal-php-evaluator/health.svg)](https://phpackages.com/packages/pentagonal-php-evaluator)
```

###  Alternatives

[phar-io/version

Library for handling version information and constraints

7.5k743.4M42](/packages/phar-io-version)[jean85/pretty-package-versions

A library to get pretty versions strings of installed dependencies

1.3k289.5M63](/packages/jean85-pretty-package-versions)[willdurand/negotiation

Content Negotiation tools for PHP provided as a standalone library.

1.4k122.0M157](/packages/willdurand-negotiation)[graham-campbell/result-type

An Implementation Of The Result Type

548378.1M7](/packages/graham-campbell-result-type)[illuminate/contracts

The Illuminate Contracts package.

704122.9M10.1k](/packages/illuminate-contracts)[wikimedia/composer-merge-plugin

Composer plugin to merge multiple composer.json files

1.0k25.0M261](/packages/wikimedia-composer-merge-plugin)

PHPackages © 2026

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