PHPackages                             kapitancho/walnut-lang - 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. kapitancho/walnut-lang

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

kapitancho/walnut-lang
======================

0.0.8(2y ago)0303PHPPHP &gt;=8.2

Since Feb 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kapitancho/walnut-lang)[ Packagist](https://packagist.org/packages/kapitancho/walnut-lang)[ RSS](/packages/kapitancho-walnut-lang/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (2)Versions (9)Used By (3)

Walnut Lang
===========

[](#walnut-lang)

The follow-up of the Cast programming language, completely rebuilt and improved.

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

[](#installation)

To install the latest version, use the following command:

```
$ composer require kapitancho/walnut-lang
```

Usage
-----

[](#usage)

Walnut is a programming language. You can use one of the adapters in order to have interactions between the language and the host environment.

Adapters
--------

[](#adapters)

- [CLI Adapter](https://github.com/kapitancho/walnut-lang-cli-adapter)
- [PSR HTTP Adapter](https://github.com/kapitancho/walnut-lang-psr-http-adapter/)
- [Swoole HTTP Adapter](https://github.com/kapitancho/walnut-lang-swoole-http-adapter/)

Demos (recommended)
-------------------

[](#demos-recommended)

- [Walnut Lang demos](https://github.com/kapitancho/walnut-lang-demos)
- [SushiGo (R) demo](https://github.com/kapitancho/walnut-lang-sushi-go-demo)

Documentation
-------------

[](#documentation)

1. [Index](docs/00-language-reference.md)
2. [Introduction](docs/01-introduction.md)
3. [Types and Values](docs/02-types-and-values.md)
4. [Functions](docs/03-functions.md)
5. [Expressions](docs/04-expressions.md)
6. [Method Reference](docs/05-method-reference.md)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity49

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

Total

8

Last Release

760d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/12d2910601119ce65c373b7e21ffc647154bde10c5ad0a0598ab1143aa851701?d=identicon)[kapitancho](/maintainers/kapitancho)

---

Top Contributors

[![kapitancho](https://avatars.githubusercontent.com/u/792682?v=4)](https://github.com/kapitancho "kapitancho (25 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kapitancho-walnut-lang/health.svg)

```
[![Health](https://phpackages.com/badges/kapitancho-walnut-lang/health.svg)](https://phpackages.com/packages/kapitancho-walnut-lang)
```

PHPackages © 2026

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