2017 © Pedro Peláez
 

library babel

PHP Babel

image

reb/babel

PHP Babel

  • Wednesday, February 28, 2018
  • by reb
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

It's simple Babel Transpiler for PHP., (*1)

PHP Code:, (*2)

$Babel = new \Babel\Transpiler\Core();
echo $Babel->execute("class REBUS {}");

Result:, (*3)

"use strict";

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

var REBUS = function REBUS() {
  _classCallCheck(this, REBUS);
};

The Versions

28/02 2018

dev-master

9999999-dev https://github.com/reb2020/babel_transpiler

PHP Babel

  Sources   Download

MIT

The Requires

  • php >=7.0.0
  • ext-v8js >=1.3.3

 

by Aleksandr Sokol

js web transpiler

28/02 2018

v1.0.0

1.0.0.0 https://github.com/reb2020/babel_transpiler

PHP Babel

  Sources   Download

MIT

The Requires

  • php >=7.0.0
  • ext-v8js >=1.3.3

 

by Aleksandr Sokol

js web transpiler