Skip to content

test-to-com/zep-to-php

Repository files navigation

ZEPHIR to PHP Translator

This project implements a ZEP to PHP translator.

The initial goal of this project, was to be able to create a PHP Version of PHALCON, so that I could debug and discover, in depth, the workings of PHALCON.

This project, combined with the PHALCON Debug Extension project has allowed me to finally Xdebug PHALCON.

Build Instructions

DISCLAIMER: I use Ubuntu 14.04 as my development OS. I have not tried building this on any other Linux Distribution or Windows.

NOTE: use git clone --recursive, to clone the zep-to-php repository, as this will also bring in clones of the the other repositories (dependencies), that contain files, I use to build zeptophp.

Linux/Unix/Mac

Requirements

You will need, working:

  • ZEPHIR last version tested was 0.8.x

NOTE: You actually don't need ZEPHIR working, you need the json-c library to be installed (the ZEPHIR Parser uses it to build it's intermediate files). You can use the install-json from the ZEPHIR Project to build this library.

This should basically work on any Linux Distribution:

./install

or if you want to run tests agains the ZEP files included with ZEPHIR:

./install -t

** NOTE:** This adds a symlink zeptophp to your user's bin directory ~/bin, if it exists. Otherwise you can use ./bin/zeptophp to run the translator.

How to use

If you have:

  1. A bin in the root of your user's home directory ~/bin , and
  2. It's part of your PATH

then running the translator is as simple as

zeptophp ...path to extension's zep files...

If not, then use the zeptophp under the bin directory from where you ran ./install.

About

ZEP to PHP Translation Module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors