From ProgClub
Revision as of 16:14, 11 December 2017 by John (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

JsPHP is the ProgClub project to implement PHP functions in JavaScript. It's a fork of phpjs with some planned bug fixes and improvements. The content management system used by JsPHP is provided by the pcphpjs project and available in production at jsphp.com. Visit jsphp.com for access to the JavaScript library and development features. For other projects see Projects.

Project status



Members who have contributed to this project. Newest on top.

All contributors have agreed to the terms of the Contributor License Agreement. This excludes any upstream contributors who tend to have different administrative frameworks.

Upstream contributors:


Copyright 2011-2012, Contributors.


Dual licensed under the MIT or GPL licenses.

Source code

The source code is available for editing and management via jsphp.com.



Things to do, in rough order of priority:

  • Write unit tests and benchmarks for all functions.


Stuff that's done. Latest stuff on top.

  • JE 2011-12-30: Functions imported, upstream developers imported, and dependencies imported.
  • JE 2011-12-30: Put in unit tests for array class
  • JE 2011-12-30: Try changing array class to get versions to benchmark
  • JE 2011-12-30: Develop the content management system Pcphpjs
  • JE 2011-12-30: Import functions from phpjs.org
  • JE 2011-09-21: created project page

Notes for implementers

If you are interested in incorporating the ProgClub JsPHP into your project, here's what you need to know:

Go to jsphp.com and click on the Functions tab. Select the functions you want to have access to from JavaScript, and then choose a download type. Download types are either Production or Development. Choose Production if you want the latest production verified code, or Development if you want the absolute latest version, and then click Download. You will then have a php.js file with your functions in it that you can include from your own project. If you need the php.js file packaged in a different format then get in contact with John and let him know and he can look at fixing up the packaging system for you.