PHP library for parsing, loading and inspecting eno documents
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
spec
src
.gitignore
CHANGELOG.md
LICENSE
README.md
composer.json
composer.lock
kahlan-config.php

README.md

enophp

PHP library for parsing, loading and inspecting eno documents

Installation

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!'

Complete documentation and API reference

See eno-lang.org/php