You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,30 @@
10
10
11
11
---
12
12
13
-
With Node PHP Embedded (PHPCGIJS), you can leverage the speed of node.js and run all of the widely available php scripts directly inside your express site.
14
13
15
-
`PHPCGIJS` was originally a fork of http://github.com/mkschreder/node-php. `PHPCGIJS` was later modified for making this library take dynamic PHP pathing, so that it can run without a PHP (or other interpreted language) distribution installed on a machine. `PHPCGIJS` can work with an embedded PHP binary distribution. `PHPCGIJS` was later added with [`CGIJS`](https://www.npmjs.com/package/cgijs) to make this library comprehensively support most scripting languages long with running any web application behind a proxy using a webserver.
14
+
With Node PHP Embedded (PHPCGIJS), you can leverage the speed of node.js and run all of the widely available php scripts directly inside your node.js web application or site.
15
+
16
16
17
17
## Installation
18
18
19
19
```
20
20
npm install phpcgijs --save
21
21
```
22
22
23
+
#### **SECURITY NOTE**:
24
+
25
+
26
+
- The process shell module is security agnostic and is dependant on your code.
27
+
- The package accesses the shell to run script executables using the node.js process module. Please consider your `security risks based on your executable's/ script's security risks`.
28
+
- The proxy module is security agnostic and is dependant on your code.
29
+
- The `package has a LAN or WAN network proxy module AND does not create any proxies` by its own - unless specified by you. Please consider your custom created proxy's security risks.
30
+
- The `package does not use Telemetry, nor Collect data Remotely, nor has Telemetry/Remote based Error collection` on its own.
31
+
- The package propogates errors for you to handle or collect errors/ data.
32
+
33
+
34
+
# Library Features
35
+
36
+
23
37
## Includes CGIJS Library as a dependancy
24
38
25
39
# cgijs
@@ -102,6 +116,12 @@ The script will pipe all files that end in the .php extension through the php pa
102
116
103
117
You can also use the inbuilt `cgijs` API using the following features using the `require("phpcgijs").cgijs` API.
104
118
119
+
120
+
### NOTE:
121
+
122
+
`PHPCGIJS` was originally a fork of http://github.com/mkschreder/node-php. `PHPCGIJS` was later modified for making this library take dynamic PHP pathing, so that it can run without a PHP (or other interpreted language) distribution installed on a machine. `PHPCGIJS` can work with an embedded PHP binary distribution. `PHPCGIJS` was later added with [`CGIJS`](https://www.npmjs.com/package/cgijs) to make this library comprehensively support most scripting languages long with running any web application behind a proxy using a webserver.
0 commit comments