PHPackages                             tacoberu/hayo-decoder - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. tacoberu/hayo-decoder

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

tacoberu/hayo-decoder
=====================

Hayo scripting language decoder and parser.

v0.3.14(1mo ago)0152↓88.9%1MITPHPPHP &gt;=7.4

Since Jun 2Pushed 1mo agoCompare

[ Source](https://github.com/tacoberu/php-hayo-decoder)[ Packagist](https://packagist.org/packages/tacoberu/hayo-decoder)[ RSS](/packages/tacoberu-hayo-decoder/feed)WikiDiscussions v0.3 Synced 1w ago

READMEChangelogDependencies (13)Versions (7)Used By (1)

Hayo Decoder for PHP
====================

[](#hayo-decoder-for-php)

A PHP library that parses Hayo source code and creates an Abstract Syntax Tree (AST), which can then be compiled into a target language.

> **Note:** This project is not useful on its own as it is a component of the [php-hayo](https://github.com/tacoberu/php-hayo) project.

About Hayo
----------

[](#about-hayo)

Hayo is a purely functional scripting language. A script is passed as a string, compiled into a function, and called with concrete data. The result is always the last evaluated expression. No side effects are possible.

For more information about the language syntax, see [SYNTAX.md](SYNTAX.md).

Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require tacoberu/hayo-decoder
```

Usage
-----

[](#usage)

```
use Taco\Hayo\HayoDecoder;

$decoder = new HayoDecoder();
$ast = $decoder->decode('... hayo source code ...');
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance90

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

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

Recently: every ~1 days

Total

7

Last Release

48d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1828339?v=4)[Martin Takáč](/maintainers/tacoberu)[@tacoberu](https://github.com/tacoberu)

---

Top Contributors

[![tacoberu](https://avatars.githubusercontent.com/u/1828339?v=4)](https://github.com/tacoberu "tacoberu (59 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tacoberu-hayo-decoder/health.svg)

```
[![Health](https://phpackages.com/badges/tacoberu-hayo-decoder/health.svg)](https://phpackages.com/packages/tacoberu-hayo-decoder)
```

###  Alternatives

[nette/security

🔑 Nette Security: provides authentication, authorization and a role-based access control management via ACL (Access Control List)

3889.7M334](/packages/nette-security)[nette/component-model

⚛ Nette Component Model

28817.0M106](/packages/nette-component-model)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2603.2M442](/packages/ssch-typo3-rector)[symplify/config-transformer

Convert Symfony YAML configs to PHP

2642.5M18](/packages/symplify-config-transformer)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)[contributte/latte-parsedown-extra

ParsedownExtra / Markdown parser for Latte

10753.9k](/packages/contributte-latte-parsedown-extra)

PHPackages © 2026

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