{"_id":"phpjs","_rev":"46-1ef93d6c444104e047b03c893fafc9a0","name":"phpjs","description":"php.js offers community built php functions in javascript","dist-tags":{"latest":"1.3.2"},"versions":{"0.0.1":{"author":{"name":"Alan Hoffmeister","email":"contato@cranic.com.br","url":"https://github.com/cranic"},"name":"phpjs","description":"PHP.js port for Node.js","version":"0.0.1","homepage":"https://github.com/cranic/node-phpjs","repository":{"type":"git","url":"git://github.com/cranic/node-phpjs.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"cranic","email":"contato@cranic.com.br"},"_id":"phpjs@0.0.1","_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"f4ff538e3565541f7547a5be266258a74bad2965","tarball":"https://registry.npmjs.org/phpjs/-/phpjs-0.0.1.tgz","integrity":"sha512-UceIN8w/+M6M80oFquum7dGK/crWuWOZb7btWLlkIkudwPAzc9LWjsHrIrMSCVmBixZUQbwYSgab9WSexmz32Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICQt6puJ9u/PZROgmN/5MmCEt4HiVPRUPuBHsUKdQ1fpAiEAu+C4gq8WZ+vNKQqCtfvl1dVGPBzX/b/myDn7mY4zpDg="}]},"scripts":{},"maintainers":[{"name":"cranic","email":"contato@cranic.com.br"}],"directories":{},"deprecated":"phpjs is no longer maintained. Please use Locutus instead: https://locutus.io"},"1.0.0":{"name":"phpjs","version":"1.0.0","description":"php.js offers community built php functions in javascript","homepage":"http://phpjs.org","author":{"name":"Kevin van Zonneveld","email":"kevin@vanzonneveld.net"},"engines":{"node":">= 0.8.0"},"dependencies":{"cli":"~0.4.4-2","glob":"~3.2.1","send":"~0.1.0","deep-equal":"~0.1.2"},"keywords":["cli","console","test","phpjs"],"bugs":{"url":"https://github.com/kvz/phpjs/issues"},"repository":{"type":"git","url":"https://github.com/kvz/phpjs.git"},"scripts":{"test":"make test"},"_id":"phpjs@1.0.0","dist":{"shasum":"053d9b907979dfa5daaf4f43c5a6b125cf9555d0","tarball":"https://registry.npmjs.org/phpjs/-/phpjs-1.0.0.tgz","integrity":"sha512-dU/Cx2FSMvcXDlMNmGuW52+UEAGQvj+zPk4ZCfeZIGhGVPy19teNiByu4onLpl2c/dYAxOAt+v/g1Ue7DXAEVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFkaoh5bi0QoBSTGd+otyWSOz4Y4SR7wVf4X1YR2o7LAIhAMZQKXlGHg27dudZZ/0TDJOs/EW5L5yUIQ0d7yfbgh8J"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"kvz","email":"kevin@vanzonneveld.net"},"maintainers":[{"name":"sjricc","email":"sjricc@gmail.com"},{"name":"kvz","email":"kevin@vanzonneveld.net"}],"directories":{},"deprecated":"phpjs is no longer maintained. Please use Locutus instead: https://locutus.io"},"1.0.1":{"name":"phpjs","version":"1.0.1","description":"php.js offers community built php functions in javascript","homepage":"http://phpjs.org","author":{"name":"Kevin van Zonneveld","email":"kevin@vanzonneveld.net"},"engines":{"node":">= 0.8.0"},"dependencies":{"cli":"~0.4.4-2","glob":"~3.2.1","send":"~0.1.0","deep-equal":"~0.1.2"},"keywords":["cli","console","test","phpjs"],"bugs":{"url":"https://github.com/kvz/phpjs/issues"},"repository":{"type":"git","url":"https://github.com/kvz/phpjs.git"},"scripts":{"test":"make test"},"_id":"phpjs@1.0.1","dist":{"shasum":"3528a477a7d7c4d2345015cafdd4326223ffc4f3","tarball":"https://registry.npmjs.org/phpjs/-/phpjs-1.0.1.tgz","integrity":"sha512-cd3zRwvullkBmBOuLCZZGr/V5dqOYhzdvPtIs/AnyHo2Glngbq98gOfBy39mbm0TnM5pjgpiMWgZxb7f31Z0dw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfY16fA4dNQ534sZMdXHZg0Iz7q7KckKsqP579VfyAVgIhAP6rBHzChjRe11RrXCx68Fhu3rqHVFP7zWf5PYW0QBF8"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"kvz","email":"kevin@vanzonneveld.net"},"maintainers":[{"name":"sjricc","email":"sjricc@gmail.com"},{"name":"kvz","email":"kevin@vanzonneveld.net"}],"directories":{},"deprecated":"phpjs is no longer maintained. Please use Locutus instead: https://locutus.io"},"1.0.2":{"name":"phpjs","version":"1.0.2","description":"php.js offers community built php functions in javascript","homepage":"http://phpjs.org","author":{"name":"Kevin van Zonneveld","email":"kevin@vanzonneveld.net"},"engines":{"node":">= 0.8.0"},"dependencies":{"cli":"~0.4.4-2","glob":"~3.2.1","send":"~0.1.0","deep-equal":"~0.1.2"},"keywords":["cli","console","test","phpjs"],"bugs":{"url":"https://github.com/kvz/phpjs/issues"},"repository":{"type":"git","url":"https://github.com/kvz/phpjs.git"},"scripts":{"test":"make test"},"_id":"phpjs@1.0.2","dist":{"shasum":"0a0f6008e0830b5423bce8146928e5619d438b55","tarball":"https://registry.npmjs.org/phpjs/-/phpjs-1.0.2.tgz","integrity":"sha512-mi6QTKiV9lejrWG1mzhTeW4r7iqt3qkY7prCb5yyqUMGQT6way6fVJxoqD7YFhFWsMYRD3wwcR6O8xoaoqHEhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDObnPsoClGJ/NjOuYR4VUjqV9Q9F+xl1I2cTNqHZ9SZAiA4xUoaatVE49jVsRWAKwCutQpr2snqlwYgn8WYk6LxAw=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"kvz","email":"kevin@vanzonneveld.net"},"maintainers":[{"name":"kvz","email":"kevin@vanzonneveld.net"}],"directories":{},"deprecated":"phpjs is no longer maintained. Please use Locutus instead: https://locutus.io"},"1.1.2":{"name":"phpjs","version":"1.1.2","description":"php.js offers community built php functions in javascript","homepage":"http://phpjs.org","author":{"name":"Kevin van Zonneveld","email":"kevin@vanzonneveld.net"},"engines":{"node":">= 0.8.0"},"dependencies":{"cli":"0.4.4-2","glob":"3.2.1","send":"0.1.0","deep-equal":"0.1.2","js-beautify":"1.4.2","underscore":"1.5.2","mocha":"1.17.0"},"keywords":["php","js","phpjs"],"bugs":{"url":"https://github.com/kvz/phpjs/issues"},"repository":{"type":"git","url":"https://github.com/kvz/phpjs.git"},"scripts":{"test":"make test"},"_id":"phpjs@1.1.2","dist":{"shasum":"387a3c4fc14de082c56f4b7283c5f422185f41ac","tarball":"https://registry.npmjs.org/phpjs/-/phpjs-1.1.2.tgz","integrity":"sha512-OObRAZwHdMe1BLT9ht20Oc/R7f7w6//k76ymN7ZgH46aG9uK1V5JNqekyBnjSkY5pvkTMFn9iJRmMTp3r6yCUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAFOWAX26RD+kybzKsb07CNSVo7l/QumSs/az2ZbmsFQIhAPHJZoeHIXqivpwZTMvn38ZQcXHmM1WsL/VsWLqRuj8R"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"kvz","email":"kevin@vanzonneveld.net"},"maintainers":[{"name":"kvz","email":"kevin@vanzonneveld.net"}],"directories":{},"deprecated":"phpjs is no longer maintained. Please use Locutus instead: https://locutus.io"},"1.2.2":{"name":"phpjs","version":"1.2.2","description":"php.js offers community built php functions in javascript","homepage":"http://phpjs.org","author":{"name":"Kevin van Zonneveld","email":"kevin@vanzonneveld.net"},"engines":{"node":">= 0.8.0"},"dependencies":{"cli":"0.4.4-2","glob":"3.2.1","send":"0.1.0","deep-equal":"0.1.2","js-beautify":"1.4.2","underscore":"1.5.2","mocha":"1.17.0"},"keywords":["php","js","phpjs"],"bugs":{"url":"https://github.com/kvz/phpjs/issues"},"repository":{"type":"git","url":"https://github.com/kvz/phpjs.git"},"scripts":{"test":"make test"},"_id":"phpjs@1.2.2","dist":{"shasum":"797ed150a6bab14c1f426ad10e00c7aedf88b876","tarball":"https://registry.npmjs.org/phpjs/-/phpjs-1.2.2.tgz","integrity":"sha512-gMM5zbXrCGIBGa68jYEDirEPsYIK4ks1oF7Wqasxe5dFOeZ5KD+jyzQw32I/QmcUpCBa7Aj2jz52JaMX/YBH4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQCO9gOY/QaGIYx+zPoOYZDkexkfYnxp/AytdsksbvMWQAIfUFVD6gBw6IhDS+BLIf7Jf4DyplfYHkPWK5Uk98W1jQ=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"kvz","email":"kevin@vanzonneveld.net"},"maintainers":[{"name":"kvz","email":"kevin@vanzonneveld.net"}],"directories":{},"deprecated":"phpjs is no longer maintained. Please use Locutus instead: https://locutus.io"},"1.3.2":{"name":"phpjs","version":"1.3.2","description":"php.js offers community built php functions in javascript","homepage":"http://phpjs.org","author":{"name":"Kevin van Zonneveld","email":"kevin@vanzonneveld.net"},"engines":{"node":">= 0.8.0"},"dependencies":{"cli":"0.4.4-2","glob":"3.2.1","send":"0.1.0","deep-equal":"0.1.2","js-beautify":"1.4.2","underscore":"1.5.2","mocha":"1.17.0"},"keywords":["php","js","phpjs"],"bugs":{"url":"https://github.com/kvz/phpjs/issues"},"repository":{"type":"git","url":"https://github.com/kvz/phpjs.git"},"scripts":{"test":"make test"},"_id":"phpjs@1.3.2","dist":{"shasum":"5c7bac55d1de09e80542022593161bd980348abb","tarball":"https://registry.npmjs.org/phpjs/-/phpjs-1.3.2.tgz","integrity":"sha512-S/V298ABWBDLsWgssVl91JmexMvTmmBR4oufeHvQU3W63+xOBluVtbVEoMyxv6ZdFuj/fx6BXe/WC6gWnO+lig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDk+zOUrd51sujwAsqNMzHZdYjZfaDAOcYz6gGha+RJbAIhALZ5qly2bQEdVlAC9OShywHq2R+u+cTcSlRHWWs2zjBt"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"kvz","email":"kevin@vanzonneveld.net"},"maintainers":[{"name":"kvz","email":"kevin@vanzonneveld.net"}],"directories":{},"deprecated":"phpjs is no longer maintained. Please use Locutus instead: https://locutus.io"}},"readme":"# php.js\n\n<!-- badges/ -->\n[![Build Status](https://secure.travis-ci.org/kvz/phpjs.png?branch=master)](http://travis-ci.org/kvz/phpjs \"Check this project's build status on TravisCI\")\n[![NPM version](http://badge.fury.io/js/phpjs.png)](https://npmjs.org/package/phpjs \"View this project on NPM\")\n[![Dependency Status](https://david-dm.org/kvz/phpjs.png?theme=shields.io)](https://david-dm.org/kvz/phpjs)\n[![Development Dependency Status](https://david-dm.org/kvz/phpjs/dev-status.png?theme=shields.io)](https://david-dm.org/kvz/phpjs#info=devDependencies)\n<!-- /badges -->\n\nphp.js is a resource that offers community-built JavaScript alternatives to PHP functions.\n\nMore info at: http://phpjs.org/about\n\n## Npm\n\n```bash\n$ mkdir test && cd $_\n$ npm install phpjs\n$ $EDITOR try.js\n```\n\n```javascript\nvar php = require('phpjs');\n\nphp.echo(php.sprintf('Hey, %s : )', 'you'));\nphp.echo(php.parse_url('mysql://kevin:abcd1234@example.com/databasename')['pass']);\nphp.echo(php.strtotime('2 januari 2012, 11:12:13 GMT'));\n```\n\n```bash\n$ node try.js\nHey, you : )\nabcd1234\n1325502733\n```\n\n## Testing\n\n\n### cli\n\n```bash\nmake test\n```\n\n```bash\nnode bin/phpjs.js --action test --name sort\nnode bin/phpjs.js --action test --category array\n```\n\n### Web\n\n```bash\nPORT=8080 node test/browser/server.js\n```\n\nPoint your webbrowser to http://localhost:8080\n\n\n## Sponsor development\n\n<!-- badges/ -->\n[![Gittip donate button](http://img.shields.io/gittip/kvz.png)](https://www.gittip.com/kvz/ \"Sponsor the development of phpjs via Gittip\")\n[![Flattr donate button](http://img.shields.io/flattr/donate.png?color=yellow)](https://flattr.com/submit/auto?user_id=kvz&url=https://github.com/kvz/phpjs&title=phpjs&language=&tags=github&category=software \"Sponsor the development of phpjs via Flattr\")\n[![PayPal donate button](http://img.shields.io/paypal/donate.png?color=yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=kevin%40vanzonneveld%2enet&lc=NL&item_name=Open%20source%20donation%20to%20Kevin%20van%20Zonneveld&currency_code=USD&bn=PP-DonationsBF%3abtn_donate_SM%2egif%3aNonHosted \"Sponsor the development of phpjs via Paypal\")\n[![BitCoin donate button](http://img.shields.io/bitcoin/donate.png?color=yellow)](https://coinbase.com/checkouts/19BtCjLCboRgTAXiaEvnvkdoRyjd843Dg2 \"Sponsor the development of phpjs via BitCoin\")\n<!-- /badges -->\n","maintainers":[{"name":"kvz","email":"kevin@vanzonneveld.net"}],"time":{"modified":"2024-04-05T14:33:53.557Z","created":"2012-06-01T13:01:40.260Z","0.0.1":"2012-06-01T13:01:43.905Z","1.0.0":"2014-01-17T16:07:11.380Z","1.0.1":"2014-01-17T16:14:01.520Z","1.0.2":"2014-01-17T16:22:58.811Z","1.1.2":"2014-03-04T10:43:52.122Z","1.2.2":"2014-03-04T10:45:25.024Z","1.3.2":"2014-03-05T09:20:13.675Z"},"author":{"name":"Kevin van Zonneveld","email":"kevin@vanzonneveld.net"},"repository":{"type":"git","url":"https://github.com/kvz/phpjs.git"},"users":{"ullzegdath":true,"pandao":true,"pdedkov":true,"wangnan0610":true,"hyokosdeveloper":true,"guzgarcia":true,"kimjoseph95":true,"yikuo":true,"ys_sidson_aidson":true,"touskar":true},"homepage":"http://phpjs.org","keywords":["php","js","phpjs"],"bugs":{"url":"https://github.com/kvz/phpjs/issues"},"readmeFilename":"README.md"}