PHPackages                             igorw/befunge - 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. igorw/befunge

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

igorw/befunge
=============

Befunge-98 implementation.

75PHP

Since Aug 24Pushed 12y ago1 watchersCompare

[ Source](https://github.com/igorw/befunge-php)[ Packagist](https://packagist.org/packages/igorw/befunge)[ RSS](/packages/igorw-befunge/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

befunge-php
===========

[](#befunge-php)

[![befunge](doc/befunge.png)](doc/befunge.png)

Befunge is an esoteric programming language that operates in a 2d space, allowing the instruction pointer (ip) to point in any direction.

This interpreter is based on the funge-98 spec, and implements a non-concurrent two-dimensional variant of the language.

Example
-------

[](#example)

Hello world:

```
0"!dlroW ,olleH">:#,_@

```

Count:

```
v                                        @
> & 00p 0 10p ;; 0. ;; " ", ;; > 00g 10g w @
v                                        <
> 10g 1+ 10p ;; 10g. ;; " ",   ^

```

Usage
-----

[](#usage)

Just pass a filename to the interpreter:

```
$ bin/befunge examples/hello.b98

```

You can also pass the `--debug` option to get a log of all instructions.

```
$ bin/befunge --debug examples/hello.b98

```

Stability
---------

[](#stability)

Highly experimental, unstable, incomplete. PRs welcome.

References
----------

[](#references)

- [Funge-98 spec](http://catseye.tc/projects/funge98/doc/funge98.html)
- [Befunge on Esolang](http://esolangs.org/wiki/Befunge)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/88061?v=4)[Igor](/maintainers/igorw)[@igorw](https://github.com/igorw)

---

Top Contributors

[![igorw](https://avatars.githubusercontent.com/u/88061?v=4)](https://github.com/igorw "igorw (30 commits)")

### Embed Badge

![Health badge](/badges/igorw-befunge/health.svg)

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

###  Alternatives

[directorytree/dummy

438.9k](/packages/directorytree-dummy)

PHPackages © 2026

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