{"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":"http://registry-npm.ywwl.com/phpjs/download/phpjs-0.0.1.tgz","integrity":"sha512-UceIN8w/+M6M80oFquum7dGK/crWuWOZb7btWLlkIkudwPAzc9LWjsHrIrMSCVmBixZUQbwYSgab9WSexmz32Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICQt6puJ9u/PZROgmN/5MmCEt4HiVPRUPuBHsUKdQ1fpAiEAu+C4gq8WZ+vNKQqCtfvl1dVGPBzX/b/myDn7mY4zpDg="}],"size":211604,"noattachment":false,"key":"/phpjs/-/phpjs-0.0.1.tgz"},"scripts":{},"maintainers":[{"name":"cranic","email":"contato@cranic.com.br"}],"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":1338555703905,"_cnpm_publish_time":1338555703905,"dist-tags":{"latest":"1.3.2"}}