https://github.com/tumobi/php-helper
Use Node.js to implement PHP's common built-in functions.
https://github.com/tumobi/php-helper
nodejs php php-functions
Last synced: 5 months ago
JSON representation
Use Node.js to implement PHP's common built-in functions.
- Host: GitHub
- URL: https://github.com/tumobi/php-helper
- Owner: tumobi
- Created: 2018-05-19T16:39:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-24T03:09:41.000Z (over 7 years ago)
- Last Synced: 2025-06-27T10:06:10.104Z (8 months ago)
- Topics: nodejs, php, php-functions
- Language: JavaScript
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# php-helper
用 Node.js 实现的常用 PHP 函数
## 安装
```
npm install --save php-helper
```
## 使用
```
const php = require('php-helper')
const md5 = php.md5('123456')
const jsonObj = php.json_decode('{"name":"your name","age":11}')
```