PHPackages                             icewind/executer - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. icewind/executer

AbandonedArchivedLibrary[Debugging &amp; Profiling](/categories/debugging)

icewind/executer
================

Eval php code in temporary files to enable debugging

v0.1.0(10y ago)018MITPHP

Since Nov 7Pushed 10y agoCompare

[ Source](https://github.com/icewind1991/executer)[ Packagist](https://packagist.org/packages/icewind/executer)[ RSS](/packages/icewind-executer/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Executer
========

[](#executer)

[![Build Status](https://camo.githubusercontent.com/6b1b6104ce0b4a4609e77954aea03b6a10d03da90d0a69c3b7146dac0aaac2a2/68747470733a2f2f7472617669732d63692e6f72672f69636577696e64313939312f65786563757465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/icewind1991/executer)[![Code Coverage](https://camo.githubusercontent.com/475f53517d184a91900134de4fc3aa7abbe78f8f16365f769cf34e661dcf3193/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f69636577696e64313939312f65786563757465722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/icewind1991/executer/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b3e59db728c87d000d6563d8c58deae0ae2199fa4fe76f0aff708808ce4e2bce/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f69636577696e64313939312f65786563757465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/icewind1991/executer/?branch=master)

Eval php code in temporary files to enable debugging

```
composer require icewind/executer

```

Why not just use `eval`?
------------------------

[](#why-not-just-use-eval)

Since code loaded trough `eval` doesn't come from a file it's not possible for debuggers to show you the code being executed, by placing the code in a temporary file and including it you gain the ability view the code in your favorite debugger while stepping trough it.

Usage
-----

[](#usage)

```
use Icewind\Executer\Executer;

$executer = new Executer();
$executer->evalCode('echo "foo"');
```

API
---

[](#api)

- `evalCode(string $code)` Execute eval-compatible code (*doesn't* start with '&lt;?php...')
- `includeCode(string $code)` Execute include-compatible code (start with '&lt;?php...')

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

3891d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1283854?v=4)[Robin Appelman](/maintainers/icewind1991)[@icewind1991](https://github.com/icewind1991)

---

Top Contributors

[![icewind1991](https://avatars.githubusercontent.com/u/1283854?v=4)](https://github.com/icewind1991 "icewind1991 (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/icewind-executer/health.svg)

```
[![Health](https://phpackages.com/badges/icewind-executer/health.svg)](https://phpackages.com/packages/icewind-executer)
```

###  Alternatives

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.6k](/packages/spatie-craft-ray)

PHPackages © 2026

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