2017 © Pedro Peláez
 

library phx

AST-based syntax extension for PHP

image

phxlang/phx

AST-based syntax extension for PHP

  • Friday, February 23, 2018
  • by TiMESPLiNTER
  • Repository
  • 2 Watchers
  • 2 Stars
  • 5 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

PHX

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., (*1)

Installation

Install PHX simply by adding the dependency to the project's composer.json., (*2)

composer require phxlang/phx

Or install it globally:, (*3)

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:, (*4)

$ 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., (*5)

Tests

Yes there are a few integration tests. Run them in the project root:, (*6)

$ vendor/bin/phpunit

Documentation

There's a doc dir with useful information., (*7)

The Versions

23/02 2018

dev-phpYacc

dev-phpYacc

AST-based syntax extension for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

23/02 2018

dev-phpYacc-rule-mod

dev-phpYacc-rule-mod

AST-based syntax extension for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

15/08 2017

dev-lang/nullable-types-70

dev-lang/nullable-types-70

AST-based syntax extension for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

13/08 2017

dev-master

9999999-dev

AST-based syntax extension for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

13/08 2017

1.0.0-alpha1

1.0.0.0-alpha1

AST-based syntax extension for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires