mossengine/fivecode
Composer 安装命令:
composer require mossengine/fivecode
包简介
PHP Class to enable fifth generation instructional code driven by programmatic instructions to execute under a controlled logic in the backend.
README 文档
README
A PHP library for evaluating a 5th Generation programming structure called FiveCode.
Installation
$ composer require mossengine/fivecode
{
"require": {
"mossengine/fivecode": "~2.0.0"
}
}
Usage
new FiveCode()
// Require the autoloader, normal composer stuff require 'vendor/autoload.php'; // Instantiate a FiveCode class $fiveCode = new Mossengine\FiveCode\FiveCode(); // Evaluate an array of FiveCode through the evaluate class method. $fiveCode->evaluate([ ['' => []], ['' => []], ['' => []], ['' => []] ]);
FiveCode::make()
// Require the autoloader, normal composer stuff require 'vendor/autoload.php'; // Use the static make method and immediately evaluate an array of instructions Mossengine\FiveCode\FiveCode::make() ->evaluate([ ['' => []], ['' => []], ['' => []], ['' => []] ]);
Documentation
Read the docs for more details on FiveCode language structure or to create your own parsers/functions to provide more capabilities
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-07-04