eno-lang/enophp

PHP library for parsing, loading and inspecting eno documents

v0.1.1 2018-11-08 15:03 UTC

README

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