phxlang/phx
Composer 安装命令:
composer require phxlang/phx
包简介
AST-based syntax extension for PHP
README 文档
README
PHX (PHP NeXt) is a language extension of PHP. While PHP is fully supported by PHX it adds some additional syntax to the existing syntax set of PHP which increases productivity and readability of common PHP code.
Installation
Install PHX simply by adding the dependency to the project's composer.json.
composer require phxlang/phx
Or install it globally:
composer global require phxlang/phx
Usage
Standalone
There's a phx binary which takes a file path as the first argument which will be the PHX script to be executed:
$ vendor/bin/phx your_script.phx
With Composer
If you want to use PHX with composer autoloading please install the phx/composer-phx-plugin.
It will add PHX autoloading support to composer.
Tests
Yes there are a few integration tests. Run them in the project root:
$ vendor/bin/phpunit
Documentation
There's a doc dir with useful information.
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 10
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-08-13