PHP.JS – Port PHP Functions to Javascript


Developer Kevin van Zonneveld was once working on a project with a lot of client(JS) / server(PHP) interaction, and he found himself coding PHP functions (like base64_decode & urldecode) in JavaScript to smoothen communication between the two languages.

He stored the stored the functions in a file called PHP.JS which was included in the project. But even when the project was done, it remained fun trying to port PHP functions to JavaScript, and so the library grew.

Kevin decided to share the little library on his blog, triggering the enthusiasm of a lot of PHP developers longing for PHP functionality in JavaScript. PHP.JS is an open source project in which they try to port PHP functions to JavaScript. By including the PHP.JS library in your own projects, you can use your favorite PHP functions client-side.

Requirements: Javascript Enabled
License: MIT and GPL Licenses

  1. chanel 2.55 says:

    Does your website effectively show emoticons? Simply because my internet site cannot?-

  2. a good blog document ,We stock Argyle, Bailey, Cardy, Sheepskin, ?- .

Leave a Comment

Your email address will not be published. Required fields are marked *