Forged through Rune. Built upon PHP.
A small runite to learn how a cast is spoken, how spells shape it, and how one cast can call another. Your first step out of the void.
This app is a runite: one file named cast, engraved from the origin runes of Rune, a lore-driven, modular concept beneath PHP.
It uses only four runes:
| Rune | Role in this app |
|---|---|
| Aether | opens and closes the flow |
| Chanter | registers the casts and reads the spells |
| Weaver | fills the {{tokens}} of every message |
| Whisper | speaks to the user and asks for input |
Want to engrave your own? Start from the Rune repository.
- PHP 8.1+
- Composer
composer install
php cast| Cast | Description |
|---|---|
fire |
Shoot a fire ball. |
ice |
Shoot a blizzard. |
wind |
Shoot a wind blast. |
enchant --art --amount |
Cast one art many times. |
respell --total |
Cast random arts. |
with-name |
Ask a name, then cast for it. |
| Spell | Cast | Value | Default |
|---|---|---|---|
--art |
enchant |
fire, ice or wind |
— (required) |
--amount |
enchant |
how many times | 1 |
--total |
respell |
how many random arts | 5 |
php cast fire
php cast ice
php cast wind
php cast enchant
php cast enchant --art=fire
php cast enchant --art=ice --amount=3
php cast enchant --art=wind --amount=5
php cast enchant --art=thunder
php cast respell
php cast respell --total=10
php cast with-name
php cast grimoire
php cast grimoire --rune=Chanter
php cast fire --zero-trust
php cast firEvery runite also carries the built-in casts of Rune: rune (the main screen), grimoire, artefact and sentinel.
| Cast | Lesson |
|---|---|
fire, ice, wind |
a cast and its echo |
enchant |
read spells first, then cast another cast from code |
respell |
set a spell from code, the next cast reads it |
with-name |
ask the user, then chain casts |
Every cast is a door, open them one by one.
- Rune — Application foundation and tooling.
Built to create. Designed to evolve.
DEVNEET ©