{"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":"http://registry-npm.ywwl.com/phpjs/download/phpjs-1.1.2.tgz","integrity":"sha512-OObRAZwHdMe1BLT9ht20Oc/R7f7w6//k76ymN7ZgH46aG9uK1V5JNqekyBnjSkY5pvkTMFn9iJRmMTp3r6yCUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAFOWAX26RD+kybzKsb07CNSVo7l/QumSs/az2ZbmsFQIhAPHJZoeHIXqivpwZTMvn38ZQcXHmM1WsL/VsWLqRuj8R"}],"size":3559895,"noattachment":false,"key":"/phpjs/-/phpjs-1.1.2.tgz"},"_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","publish_time":1393929832122,"_cnpm_publish_time":1393929832122,"dist-tags":{"latest":"1.3.2"}}