PHP development odds and ends

The Eclipse framework is an open source development platform used mainly by Java and C developers. They do have a PHP Development Tools framework, which allows Eclipse to be used to develop PHP with. Version 1 was released 18/9/7 and there have been regular releases since 8/3/6.

Phalanger is a PHP compiler for the dot Net framework. What it does is compile PHP scripts and odds and ends into .net readable format, so you can run your PHP scripts directly from any .net compatible platform. Development has been quite rapid on this, but seems to be running out of steam with 121 issues still outstanding. The last nightly build was 21/9/7 and the last release on 20/5/7. Get going again, this one is great!

Roadsend PHP Compiler is a free open source native compiler for the PHP language. It compiles PHP source code to stand alone, native binaries which do not require an interpreter. Roadsend Compiler can build online web applications with Fast/CGI, offline web applications with an embedded web server (MicroServer), desktop GUI applications with PHP-GTK, and console applications. It is available on Linux, Windows, Mac OS X, and FreeBSD.

PHC-WIN is a windows application that allows one to create EXEs from PHP code. The PHP code is first converted to PHP bytecode using bcompiler, and then embedded into an EXE using embeder. Compiling the code into bytecode has two benefits: it speeds up load times since the PHP code doesn’t have to be interpreted, and it obfuscates the code so that it cannot be easily reverse engineered.

PHC-WIN itself is written in PHP and utilizes wbObjects, my object oriented layer for WinBinder to create windows controls.

Bambalam PHP EXE Compiler/Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications. The exe files produced are totally standalone, no need for php dlls etc. The php code is encoded using the Turck MMCache Encode library so it’s a perfect solution if you want to distribute your application while protecting your source code. The converter is also suitable for producing .exe files for windowed PHP applications (created using for example the WinBinder library). It’s also good for making stand-alone PHP Socket servers/clients (using the php_sockets.dll extension).

1 thought on “PHP development odds and ends

Leave a Reply