PHP2JS DataMapper
It allows in easy way to transform all PHP variables to JS script. Main features are as follow: Features: easy access to PHP vars from JS scripts, access to all PHP superglobal arrays like GET , POST , COOKIE , SESSION , SERVER , ENV , FILES , REQUEST , GLOBALS , access to all defined constants, very easy installation and configuration (in minimum version include one JS and PHP file), many of well described PHP function handles registered vars, support for GPC , no additional PHP modules needed.