Skip to content

Commit c727fdc

Browse files
author
Ganesh K Bhat
committed
[phpcgijs] [docs] [feature] [improvement]\n\n1. Adding cgijs submodule as dependency.\n2. cgijs module has better architecture and more features to run php as well as other interpreted language scripts or other executables.\n3. Bumping deps and devdeps versions.\n4. Features of last cgijs commit.\n\ncgijs v1.1.0\n\nRun CGI Files. Run Multiple Protocol Proxies for local, remote, or embedded servers. Manage Processes, embedded servers, embedded databases, other embedded processes.\n\n\n[Rectified]: \n\nErrors of not exporting utils module export within the package\nCleaner testing of httpd, nginx, mysql, mongodb processes\nCleaner testing of json and os API's of utils module\n\n\n[Added]\n\nMajor changes to proxy module exports. proxy module now exports socks, udp, http, tcp, redirect API's\nAdded external packages to proxy module for support of proxies with UDP, TCP, SSH, FTP, Socks.\n\nAdded external package to proxy module for support of http to socks redirection\nAdded shelljs API to utils module in cgijs\n\n\n[TODO]:\n\nTo be tested with tomcat and Language inbuilt development servers. Next release will cover this.\nMerge all supported protocols (http, https, socks, udp, tcp) functioning into setup, start, stop, serve proxy API's within them, apart from present API's of process.process module exports. Next release will cover this.\nCleaner testing of csv, file API's of utils module. Next release will cover this.
1 parent 5673667 commit c727fdc

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@
1414
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.
1515

1616

17-
## Installation
17+
# Installation
1818

1919
```
2020
npm install phpcgijs --save
2121
```
2222

23+
2324
#### **SECURITY NOTE**:
2425

2526

@@ -31,10 +32,11 @@ npm install phpcgijs --save
3132
- The package propogates errors for you to handle or collect errors/ data.
3233

3334

35+
3436
# Library Features
3537

3638

37-
## Includes CGIJS Library as a dependancy
39+
#### Includes CGIJS Library as a dependancy
3840

3941
# cgijs
4042

@@ -110,7 +112,7 @@ app.listen(9090, "127.0.0.1");
110112
console.log("Server listening at 9090!");
111113
```
112114

113-
## Explanation
115+
# Explanation
114116

115117
The script will pipe all files that end in the .php extension through the php parser. All other files will be served as static content. Basic permalinks are supported but the support for them can probably be improved.
116118

@@ -122,7 +124,7 @@ You can also use the inbuilt `cgijs` API using the following features using the
122124
`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.
123125

124126

125-
## Dependencies
127+
# Dependencies
126128

127129
#### Inbuilt phpcgijs `.cgi` usage
128130

@@ -154,7 +156,7 @@ You can also use the inbuilt `cgijs` API using the following features using the
154156
- [x] The script should support piping all proxies of above languages and Jsp (With Tomcat, or any webserver as proxy) , Aspx (With IIS, Apache, or any webserver as proxy), Jsp and Aspx (With Tomcat, Nginx, and Apache embedded)
155157
- [x] Some sections are pending to be tested but should function normally
156158

157-
## License
159+
# License
158160

159161
Copyright © 2019 - till it works Ganesh B for DesktopCGI <desktopcgi@gmail.com>
160162

0 commit comments

Comments
 (0)