eno-lang/enophp
Composer 安装命令:
composer require eno-lang/enophp
包简介
PHP library for parsing, loading and inspecting eno documents
关键字:
README 文档
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 archived.eno-lang.org/php/
Running the tests
Install kahlan as development dependency:
composer install
Run the tests:
./vendor/bin/kahlan
Note that the test suite has a high peak memory load at some point, which might,
depending on your system configuration, exceed your PHP maximum memory
threshold. If you run into this you can for instance increase the limit in your
php.ini and specify e.g. memory_limit = 512M.
统计信息
- 总下载量: 52
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-11-08