Everyone is welcome to improve this documentation by editing php.eno and submitting a Pull Request!

Installation via Composer

composer require eno-lang/enophp

Getting started

Create an eno document, for instance intro.eno:

Greeting: Hello World!

A minimal example to read this file with enophp:

use Eno\Parser;

$input = file_get_contents('intro.eno');

$document = Parser::parse($input);

echo( $document->field('Greeting') );  // prints 'Hello World!'


Package on packagist - https://packagist.org/packages/eno-lang/enophp
Repository on github - https://github.com/eno-lang/enophp/