├── .gitignore
├── LICENSE
├── Php Electronjs v0.1
├── LICENSE
├── README.md
├── icon.ico
├── index.html
├── main.js
├── node_modules
│ └── README.MD
├── package-lock.json
├── package.json
├── php
│ ├── README.md
│ └── index.php
├── start.bat
└── stop.bat
├── Php Electronjs v0.2
├── README.md
├── icon.ico
├── index.html
├── main.js
├── node_modules
│ └── README.MD
├── package-lock.json
├── package.json
├── php
│ ├── README.md
│ └── www
│ │ └── index.php
├── start.bat
└── stop.bat
├── Php Electronjs v0.3
├── README.md
├── icon.ico
├── index.html
├── main.js
├── node_modules
│ └── README.MD
├── package-lock.json
├── package.json
└── php
│ ├── README.md
│ └── www
│ └── index.php
├── Php Electronjs v0.4
├── README.MD
├── extraResources
│ └── php
│ │ ├── README.MD
│ │ └── www
│ │ └── index.php
├── icon
│ └── icon.ico
├── index.html
├── main.js
├── node_modules
│ └── README.MD
├── package-lock.json
└── package.json
├── Php Electronjs v0.5
├── README.MD
├── extraResources
│ └── php
│ │ ├── README.MD
│ │ └── www
│ │ └── index.php
├── icon
│ └── icon.ico
├── index.html
├── main.js
├── node_modules
│ └── README.MD
├── package-lock.json
└── package.json
├── Php Electronjs v0.6
├── README.MD
├── extraResources
│ └── php
│ │ ├── README.MD
│ │ └── www
│ │ └── index.php
├── icon
│ └── icon.ico
├── index.html
├── main.js
├── node_modules
│ └── README.MD
├── package-lock.json
└── package.json
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 | # Build and Release Folders
2 | bin-debug/
3 | bin-release/
4 | [Oo]bj/
5 | [Bb]in/
6 |
7 | # Other files and folders
8 | .settings/
9 |
10 | # Executables
11 | *.swf
12 | *.air
13 | *.ipa
14 | *.apk
15 |
16 | # Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties`
17 | # should NOT be excluded as they contain compiler settings and other important
18 | # information for Eclipse / Flash Builder.
19 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright [yyyy] [name of copyright owner]
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------
/Php Electronjs v0.1/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright [yyyy] [name of copyright owner]
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------
/Php Electronjs v0.1/README.md:
--------------------------------------------------------------------------------
1 |
16 |
17 | # PHP-Electronjs
18 | A working php server with electronjs fully customizable & easy to use
19 |
20 | # Steps
21 | - npm i
22 | - npm start
23 | - electron-packager .
24 |
25 | # Download
26 | Clicky ! v0.1
27 |
--------------------------------------------------------------------------------
/Php Electronjs v0.1/icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MEGAMINDMK/Php-Electronjs/ce57caecc08e2635a78537084816da8f541160dc/Php Electronjs v0.1/icon.ico
--------------------------------------------------------------------------------
/Php Electronjs v0.1/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Php Electronjs v0.1/main.js:
--------------------------------------------------------------------------------
1 | const electron = require("electron");
2 | const BrowserWindow = electron.BrowserWindow;
3 | const app = electron.app;
4 | const Menu = electron.Menu;
5 | const MenuItem = electron.MenuItem
6 | let win
7 |
8 | function createWindow () {
9 | win = new BrowserWindow({ width: 800, height: 600, icon: __dirname + '/icon.ico'})
10 | win.loadURL('http://localhost/')
11 | // win.webContents.openDevTools()
12 | win.on('closed', () => {
13 | win = null
14 | })
15 | }
16 |
17 | app.on('ready', createWindow)
18 |
19 | app.on('window-all-closed', () => {
20 | if (process.platform !== 'darwin') {
21 | app.quit()
22 | }
23 | })
24 |
25 | app.on('activate', () => {
26 | if (win === null) {
27 | createWindow()
28 | }
29 | })
30 |
31 | app.on('ready', function () {
32 |
33 | createWindow();
34 | const template = [
35 | {
36 | label: 'Server',
37 | submenu: [
38 | {
39 | label: 'Start',
40 | click: () => {
41 | var myBatFilePath = "start.bat";
42 | const spawn = require('child_process').spawn;
43 | const bat = spawn('cmd.exe', ['/c', myBatFilePath]);
44 | }
45 | },
46 |
47 | {
48 | label: 'Stop',
49 | click: () => {
50 | var myBatFilePath = "stop.bat";
51 | const spawn = require('child_process').spawn;
52 | const bat = spawn('cmd.exe', ['/c', myBatFilePath]);
53 | }
54 | },
55 |
56 | {
57 | label: 'Reload',
58 | role: 'reload'
59 | },
60 |
61 | {role: 'quit'}
62 |
63 | ]
64 | }
65 | ];
66 |
67 | const menu = Menu.buildFromTemplate(template);
68 | Menu.setApplicationMenu(menu);
69 | });
--------------------------------------------------------------------------------
/Php Electronjs v0.1/node_modules/README.MD:
--------------------------------------------------------------------------------
1 | # NPM I
2 | - Install all modules using npm i
3 |
--------------------------------------------------------------------------------
/Php Electronjs v0.1/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "your-app",
3 | "version": "0.1.0",
4 | "lockfileVersion": 1
5 | }
6 |
--------------------------------------------------------------------------------
/Php Electronjs v0.1/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "PHP-ELECTRON By Megamind",
3 | "version": "0.1.0",
4 | "description": "Php Server in Electron",
5 | "license": "MIT",
6 | "repository": "https://github.com/MEGAMINDMK",
7 | "main": "main.js",
8 | "scripts": {
9 | "start": "electron ."
10 | },
11 | "devDependencies": {
12 | "electron": "^7.2.4"
13 | },
14 | "dependencies": {
15 | "child-process": "^1.0.2"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Php Electronjs v0.1/php/README.md:
--------------------------------------------------------------------------------
1 |
9 |
10 | # The PHP files are missing
11 | - Re download the full php from official site
12 |
--------------------------------------------------------------------------------
/Php Electronjs v0.1/php/index.php:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/Php Electronjs v0.1/start.bat:
--------------------------------------------------------------------------------
1 | cd php
2 | call php -S localhost:80
--------------------------------------------------------------------------------
/Php Electronjs v0.1/stop.bat:
--------------------------------------------------------------------------------
1 | taskkill /F /IM php.exe
--------------------------------------------------------------------------------
/Php Electronjs v0.2/README.md:
--------------------------------------------------------------------------------
1 |
16 |
17 | # PHP-Electronjs
18 | A working php server with electronjs fully customizable & easy to use
19 |
20 | # Steps
21 | - npm i
22 | - npm start
23 | - electron-packager .
24 |
25 | # Download
26 | Clicky ! v0.2
27 |
--------------------------------------------------------------------------------
/Php Electronjs v0.2/icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MEGAMINDMK/Php-Electronjs/ce57caecc08e2635a78537084816da8f541160dc/Php Electronjs v0.2/icon.ico
--------------------------------------------------------------------------------
/Php Electronjs v0.2/index.html:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Php Electronjs v0.2/main.js:
--------------------------------------------------------------------------------
1 | const electron = require("electron");
2 | const BrowserWindow = electron.BrowserWindow;
3 | const remote = require('electron').remote;
4 | const app = electron.app;
5 | const Menu = electron.Menu;
6 | const MenuItem = electron.MenuItem
7 | let win
8 |
9 | function createWindow () {
10 | win = new BrowserWindow({ width: 1000, height: 700, icon: __dirname + '/icon.ico'})
11 | win.loadFile('index.html')
12 | win.on('closed', () => {
13 | win = null
14 | })
15 | }
16 |
17 | app.on('ready', createWindow)
18 |
19 | app.on('window-all-closed', () => {
20 | if (process.platform !== 'windows') {
21 | var myBatFilePath = "stop.bat";
22 | const spawn = require('child_process').spawn;
23 | const bat = spawn('cmd.exe', ['/c', myBatFilePath]);
24 | app.quit()
25 | }
26 | })
27 |
28 | app.on('activate', () => {
29 | if (win === null) {
30 | createWindow()
31 | }
32 | })
--------------------------------------------------------------------------------
/Php Electronjs v0.2/node_modules/README.MD:
--------------------------------------------------------------------------------
1 | # NPM I
2 | - Install all modules using npm i
3 |
--------------------------------------------------------------------------------
/Php Electronjs v0.2/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "your-app",
3 | "version": "0.1.0",
4 | "lockfileVersion": 1
5 | }
6 |
--------------------------------------------------------------------------------
/Php Electronjs v0.2/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "PHP-ELECTRON By Megamind",
3 | "version": "0.1.0",
4 | "description": "Php Server in Electron",
5 | "license": "MIT",
6 | "repository": "https://github.com/MEGAMINDMK",
7 | "main": "main.js",
8 | "scripts": {
9 | "start": "electron ."
10 | },
11 | "devDependencies": {
12 | "electron": "^7.2.4"
13 | },
14 | "dependencies": {
15 | "child-process": "^1.0.2"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Php Electronjs v0.2/php/README.md:
--------------------------------------------------------------------------------
1 |
9 |
10 | # The PHP files are missing
11 | - Re download the full php from official site
12 | - Use the xampp/php (Recomended)
13 |
--------------------------------------------------------------------------------
/Php Electronjs v0.2/php/www/index.php:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/Php Electronjs v0.2/start.bat:
--------------------------------------------------------------------------------
1 | cd php
2 | call php -S localhost:80
3 |
--------------------------------------------------------------------------------
/Php Electronjs v0.2/stop.bat:
--------------------------------------------------------------------------------
1 | taskkill /F /IM php.exe
--------------------------------------------------------------------------------
/Php Electronjs v0.3/README.md:
--------------------------------------------------------------------------------
1 |
16 |
17 | # PHP-Electronjs
18 | A working php server with electronjs fully customizable & easy to use
19 |
20 | # Steps
21 | - npm i
22 | - npm start
23 | - electron-packager .
24 |
25 | # Download
26 | Clicky ! v0.3
27 |
--------------------------------------------------------------------------------
/Php Electronjs v0.3/icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MEGAMINDMK/Php-Electronjs/ce57caecc08e2635a78537084816da8f541160dc/Php Electronjs v0.3/icon.ico
--------------------------------------------------------------------------------
/Php Electronjs v0.3/index.html:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Php Electronjs v0.3/main.js:
--------------------------------------------------------------------------------
1 | const electron = require("electron");
2 | const BrowserWindow = electron.BrowserWindow;
3 | const app = electron.app;
4 | const Menu = electron.Menu;
5 | const MenuItem = electron.MenuItem
6 | let win
7 |
8 | function createWindow () {
9 | win = new BrowserWindow({ width: 1000, height: 700, icon: __dirname + '/icon.ico'})
10 | win.setMenu(null)
11 | win.loadFile('index.html')
12 | win.on('closed', () => {
13 | win = null
14 | })
15 | }
16 |
17 | app.on('ready', createWindow)
18 |
19 | app.on('window-all-closed', () => {
20 | if (process.platform !== 'windows') {
21 | //var myBatFilePath = "stop.bat";
22 | //const spawn = require('child_process').spawn;
23 | //const bat = spawn('cmd.exe', ['/c', myBatFilePath]);
24 | const exec = require('child_process').exec;
25 | exec('taskkill /F /IM php.exe', (e, stdout, stderr)=> {
26 | if (e instanceof Error) {
27 | console.error(e);
28 | throw e;
29 | }
30 | console.log('stdout ', stdout);
31 | console.log('stderr ', stderr);
32 | });
33 | app.quit()
34 | }
35 | })
36 |
37 | app.on('activate', () => {
38 | if (win === null) {
39 | createWindow()
40 | }
41 | })
--------------------------------------------------------------------------------
/Php Electronjs v0.3/node_modules/README.MD:
--------------------------------------------------------------------------------
1 | # NPM I
2 | - Install all modules using npm i
3 |
--------------------------------------------------------------------------------
/Php Electronjs v0.3/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "php",
3 | "version": "0.1.0",
4 | "lockfileVersion": 1,
5 | "requires": true,
6 | "dependencies": {
7 | "@electron/get": {
8 | "version": "1.12.2",
9 | "resolved": "https://registry.npmjs.org/@electron/get/-/get-1.12.2.tgz",
10 | "integrity": "sha512-vAuHUbfvBQpYTJ5wB7uVIDq5c/Ry0fiTBMs7lnEYAo/qXXppIVcWdfBr57u6eRnKdVso7KSiH6p/LbQAG6Izrg==",
11 | "dev": true,
12 | "requires": {
13 | "debug": "^4.1.1",
14 | "env-paths": "^2.2.0",
15 | "fs-extra": "^8.1.0",
16 | "global-agent": "^2.0.2",
17 | "global-tunnel-ng": "^2.7.1",
18 | "got": "^9.6.0",
19 | "progress": "^2.0.3",
20 | "sanitize-filename": "^1.6.2",
21 | "sumchecker": "^3.0.1"
22 | }
23 | },
24 | "@sindresorhus/is": {
25 | "version": "0.14.0",
26 | "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
27 | "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==",
28 | "dev": true
29 | },
30 | "@szmarczak/http-timer": {
31 | "version": "1.1.2",
32 | "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",
33 | "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",
34 | "dev": true,
35 | "requires": {
36 | "defer-to-connect": "^1.0.1"
37 | }
38 | },
39 | "@types/node": {
40 | "version": "12.12.53",
41 | "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.53.tgz",
42 | "integrity": "sha512-51MYTDTyCziHb70wtGNFRwB4l+5JNvdqzFSkbDvpbftEgVUBEE+T5f7pROhWMp/fxp07oNIEQZd5bbfAH22ohQ==",
43 | "dev": true
44 | },
45 | "boolean": {
46 | "version": "3.0.1",
47 | "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.0.1.tgz",
48 | "integrity": "sha512-HRZPIjPcbwAVQvOTxR4YE3o8Xs98NqbbL1iEZDCz7CL8ql0Lt5iOyJFxfnAB0oFs8Oh02F/lLlg30Mexv46LjA==",
49 | "dev": true,
50 | "optional": true
51 | },
52 | "buffer-crc32": {
53 | "version": "0.2.13",
54 | "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
55 | "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=",
56 | "dev": true
57 | },
58 | "buffer-from": {
59 | "version": "1.1.1",
60 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
61 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",
62 | "dev": true
63 | },
64 | "cacheable-request": {
65 | "version": "6.1.0",
66 | "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
67 | "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==",
68 | "dev": true,
69 | "requires": {
70 | "clone-response": "^1.0.2",
71 | "get-stream": "^5.1.0",
72 | "http-cache-semantics": "^4.0.0",
73 | "keyv": "^3.0.0",
74 | "lowercase-keys": "^2.0.0",
75 | "normalize-url": "^4.1.0",
76 | "responselike": "^1.0.2"
77 | },
78 | "dependencies": {
79 | "get-stream": {
80 | "version": "5.1.0",
81 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz",
82 | "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==",
83 | "dev": true,
84 | "requires": {
85 | "pump": "^3.0.0"
86 | }
87 | },
88 | "lowercase-keys": {
89 | "version": "2.0.0",
90 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
91 | "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==",
92 | "dev": true
93 | }
94 | }
95 | },
96 | "child-process": {
97 | "version": "1.0.2",
98 | "resolved": "https://registry.npmjs.org/child-process/-/child-process-1.0.2.tgz",
99 | "integrity": "sha1-mJdNx+0e5MYin44wX6cxOmiFp/I="
100 | },
101 | "clone-response": {
102 | "version": "1.0.2",
103 | "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
104 | "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=",
105 | "dev": true,
106 | "requires": {
107 | "mimic-response": "^1.0.0"
108 | }
109 | },
110 | "concat-stream": {
111 | "version": "1.6.2",
112 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
113 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
114 | "dev": true,
115 | "requires": {
116 | "buffer-from": "^1.0.0",
117 | "inherits": "^2.0.3",
118 | "readable-stream": "^2.2.2",
119 | "typedarray": "^0.0.6"
120 | }
121 | },
122 | "config-chain": {
123 | "version": "1.1.12",
124 | "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.12.tgz",
125 | "integrity": "sha512-a1eOIcu8+7lUInge4Rpf/n4Krkf3Dd9lqhljRzII1/Zno/kRtUWnznPO3jOKBmTEktkt3fkxisUcivoj0ebzoA==",
126 | "dev": true,
127 | "optional": true,
128 | "requires": {
129 | "ini": "^1.3.4",
130 | "proto-list": "~1.2.1"
131 | }
132 | },
133 | "core-js": {
134 | "version": "3.6.5",
135 | "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz",
136 | "integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==",
137 | "dev": true,
138 | "optional": true
139 | },
140 | "core-util-is": {
141 | "version": "1.0.2",
142 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
143 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
144 | "dev": true
145 | },
146 | "debug": {
147 | "version": "4.1.1",
148 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
149 | "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
150 | "dev": true,
151 | "requires": {
152 | "ms": "^2.1.1"
153 | }
154 | },
155 | "decompress-response": {
156 | "version": "3.3.0",
157 | "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz",
158 | "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=",
159 | "dev": true,
160 | "requires": {
161 | "mimic-response": "^1.0.0"
162 | }
163 | },
164 | "defer-to-connect": {
165 | "version": "1.1.3",
166 | "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz",
167 | "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==",
168 | "dev": true
169 | },
170 | "define-properties": {
171 | "version": "1.1.3",
172 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
173 | "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
174 | "dev": true,
175 | "optional": true,
176 | "requires": {
177 | "object-keys": "^1.0.12"
178 | }
179 | },
180 | "detect-node": {
181 | "version": "2.0.4",
182 | "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz",
183 | "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==",
184 | "dev": true,
185 | "optional": true
186 | },
187 | "duplexer3": {
188 | "version": "0.1.4",
189 | "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",
190 | "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=",
191 | "dev": true
192 | },
193 | "electron": {
194 | "version": "7.2.4",
195 | "resolved": "https://registry.npmjs.org/electron/-/electron-7.2.4.tgz",
196 | "integrity": "sha512-Z+R692uTzXgP8AHrabE+kkrMlQJ6pnAYoINenwj9QSqaD2YbO8IuXU9DMCcUY0+VpA91ee09wFZJNUKYPMnCKg==",
197 | "dev": true,
198 | "requires": {
199 | "@electron/get": "^1.0.1",
200 | "@types/node": "^12.0.12",
201 | "extract-zip": "^1.0.3"
202 | }
203 | },
204 | "encodeurl": {
205 | "version": "1.0.2",
206 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
207 | "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=",
208 | "dev": true,
209 | "optional": true
210 | },
211 | "end-of-stream": {
212 | "version": "1.4.4",
213 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
214 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
215 | "dev": true,
216 | "requires": {
217 | "once": "^1.4.0"
218 | }
219 | },
220 | "env-paths": {
221 | "version": "2.2.0",
222 | "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.0.tgz",
223 | "integrity": "sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA==",
224 | "dev": true
225 | },
226 | "es6-error": {
227 | "version": "4.1.1",
228 | "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz",
229 | "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==",
230 | "dev": true,
231 | "optional": true
232 | },
233 | "escape-string-regexp": {
234 | "version": "4.0.0",
235 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
236 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
237 | "dev": true,
238 | "optional": true
239 | },
240 | "extract-zip": {
241 | "version": "1.7.0",
242 | "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.7.0.tgz",
243 | "integrity": "sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==",
244 | "dev": true,
245 | "requires": {
246 | "concat-stream": "^1.6.2",
247 | "debug": "^2.6.9",
248 | "mkdirp": "^0.5.4",
249 | "yauzl": "^2.10.0"
250 | },
251 | "dependencies": {
252 | "debug": {
253 | "version": "2.6.9",
254 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
255 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
256 | "dev": true,
257 | "requires": {
258 | "ms": "2.0.0"
259 | }
260 | },
261 | "ms": {
262 | "version": "2.0.0",
263 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
264 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
265 | "dev": true
266 | }
267 | }
268 | },
269 | "fd-slicer": {
270 | "version": "1.1.0",
271 | "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
272 | "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=",
273 | "dev": true,
274 | "requires": {
275 | "pend": "~1.2.0"
276 | }
277 | },
278 | "fs-extra": {
279 | "version": "8.1.0",
280 | "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
281 | "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
282 | "dev": true,
283 | "requires": {
284 | "graceful-fs": "^4.2.0",
285 | "jsonfile": "^4.0.0",
286 | "universalify": "^0.1.0"
287 | }
288 | },
289 | "get-stream": {
290 | "version": "4.1.0",
291 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
292 | "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
293 | "dev": true,
294 | "requires": {
295 | "pump": "^3.0.0"
296 | }
297 | },
298 | "global-agent": {
299 | "version": "2.1.12",
300 | "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-2.1.12.tgz",
301 | "integrity": "sha512-caAljRMS/qcDo69X9BfkgrihGUgGx44Fb4QQToNQjsiWh+YlQ66uqYVAdA8Olqit+5Ng0nkz09je3ZzANMZcjg==",
302 | "dev": true,
303 | "optional": true,
304 | "requires": {
305 | "boolean": "^3.0.1",
306 | "core-js": "^3.6.5",
307 | "es6-error": "^4.1.1",
308 | "matcher": "^3.0.0",
309 | "roarr": "^2.15.3",
310 | "semver": "^7.3.2",
311 | "serialize-error": "^7.0.1"
312 | }
313 | },
314 | "global-tunnel-ng": {
315 | "version": "2.7.1",
316 | "resolved": "https://registry.npmjs.org/global-tunnel-ng/-/global-tunnel-ng-2.7.1.tgz",
317 | "integrity": "sha512-4s+DyciWBV0eK148wqXxcmVAbFVPqtc3sEtUE/GTQfuU80rySLcMhUmHKSHI7/LDj8q0gDYI1lIhRRB7ieRAqg==",
318 | "dev": true,
319 | "optional": true,
320 | "requires": {
321 | "encodeurl": "^1.0.2",
322 | "lodash": "^4.17.10",
323 | "npm-conf": "^1.1.3",
324 | "tunnel": "^0.0.6"
325 | }
326 | },
327 | "globalthis": {
328 | "version": "1.0.1",
329 | "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.1.tgz",
330 | "integrity": "sha512-mJPRTc/P39NH/iNG4mXa9aIhNymaQikTrnspeCa2ZuJ+mH2QN/rXwtX3XwKrHqWgUQFbNZKtHM105aHzJalElw==",
331 | "dev": true,
332 | "optional": true,
333 | "requires": {
334 | "define-properties": "^1.1.3"
335 | }
336 | },
337 | "got": {
338 | "version": "9.6.0",
339 | "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",
340 | "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==",
341 | "dev": true,
342 | "requires": {
343 | "@sindresorhus/is": "^0.14.0",
344 | "@szmarczak/http-timer": "^1.1.2",
345 | "cacheable-request": "^6.0.0",
346 | "decompress-response": "^3.3.0",
347 | "duplexer3": "^0.1.4",
348 | "get-stream": "^4.1.0",
349 | "lowercase-keys": "^1.0.1",
350 | "mimic-response": "^1.0.1",
351 | "p-cancelable": "^1.0.0",
352 | "to-readable-stream": "^1.0.0",
353 | "url-parse-lax": "^3.0.0"
354 | }
355 | },
356 | "graceful-fs": {
357 | "version": "4.2.4",
358 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
359 | "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==",
360 | "dev": true
361 | },
362 | "http-cache-semantics": {
363 | "version": "4.1.0",
364 | "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",
365 | "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==",
366 | "dev": true
367 | },
368 | "inherits": {
369 | "version": "2.0.4",
370 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
371 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
372 | "dev": true
373 | },
374 | "ini": {
375 | "version": "1.3.8",
376 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
377 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
378 | "dev": true,
379 | "optional": true
380 | },
381 | "isarray": {
382 | "version": "1.0.0",
383 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
384 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
385 | "dev": true
386 | },
387 | "json-buffer": {
388 | "version": "3.0.0",
389 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
390 | "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=",
391 | "dev": true
392 | },
393 | "json-stringify-safe": {
394 | "version": "5.0.1",
395 | "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
396 | "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
397 | "dev": true,
398 | "optional": true
399 | },
400 | "jsonfile": {
401 | "version": "4.0.0",
402 | "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
403 | "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
404 | "dev": true,
405 | "requires": {
406 | "graceful-fs": "^4.1.6"
407 | }
408 | },
409 | "keyv": {
410 | "version": "3.1.0",
411 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",
412 | "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==",
413 | "dev": true,
414 | "requires": {
415 | "json-buffer": "3.0.0"
416 | }
417 | },
418 | "lodash": {
419 | "version": "4.17.19",
420 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
421 | "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==",
422 | "dev": true,
423 | "optional": true
424 | },
425 | "lowercase-keys": {
426 | "version": "1.0.1",
427 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
428 | "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==",
429 | "dev": true
430 | },
431 | "matcher": {
432 | "version": "3.0.0",
433 | "resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz",
434 | "integrity": "sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==",
435 | "dev": true,
436 | "optional": true,
437 | "requires": {
438 | "escape-string-regexp": "^4.0.0"
439 | }
440 | },
441 | "mimic-response": {
442 | "version": "1.0.1",
443 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
444 | "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",
445 | "dev": true
446 | },
447 | "minimist": {
448 | "version": "1.2.5",
449 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
450 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
451 | "dev": true
452 | },
453 | "mkdirp": {
454 | "version": "0.5.5",
455 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
456 | "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
457 | "dev": true,
458 | "requires": {
459 | "minimist": "^1.2.5"
460 | }
461 | },
462 | "ms": {
463 | "version": "2.1.2",
464 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
465 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
466 | "dev": true
467 | },
468 | "normalize-url": {
469 | "version": "4.5.0",
470 | "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
471 | "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==",
472 | "dev": true
473 | },
474 | "npm-conf": {
475 | "version": "1.1.3",
476 | "resolved": "https://registry.npmjs.org/npm-conf/-/npm-conf-1.1.3.tgz",
477 | "integrity": "sha512-Yic4bZHJOt9RCFbRP3GgpqhScOY4HH3V2P8yBj6CeYq118Qr+BLXqT2JvpJ00mryLESpgOxf5XlFv4ZjXxLScw==",
478 | "dev": true,
479 | "optional": true,
480 | "requires": {
481 | "config-chain": "^1.1.11",
482 | "pify": "^3.0.0"
483 | }
484 | },
485 | "object-keys": {
486 | "version": "1.1.1",
487 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
488 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
489 | "dev": true,
490 | "optional": true
491 | },
492 | "once": {
493 | "version": "1.4.0",
494 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
495 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
496 | "dev": true,
497 | "requires": {
498 | "wrappy": "1"
499 | }
500 | },
501 | "p-cancelable": {
502 | "version": "1.1.0",
503 | "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
504 | "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==",
505 | "dev": true
506 | },
507 | "pend": {
508 | "version": "1.2.0",
509 | "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
510 | "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=",
511 | "dev": true
512 | },
513 | "pify": {
514 | "version": "3.0.0",
515 | "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
516 | "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
517 | "dev": true,
518 | "optional": true
519 | },
520 | "prepend-http": {
521 | "version": "2.0.0",
522 | "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
523 | "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=",
524 | "dev": true
525 | },
526 | "process-nextick-args": {
527 | "version": "2.0.1",
528 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
529 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
530 | "dev": true
531 | },
532 | "progress": {
533 | "version": "2.0.3",
534 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
535 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
536 | "dev": true
537 | },
538 | "proto-list": {
539 | "version": "1.2.4",
540 | "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz",
541 | "integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=",
542 | "dev": true,
543 | "optional": true
544 | },
545 | "pump": {
546 | "version": "3.0.0",
547 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
548 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
549 | "dev": true,
550 | "requires": {
551 | "end-of-stream": "^1.1.0",
552 | "once": "^1.3.1"
553 | }
554 | },
555 | "readable-stream": {
556 | "version": "2.3.7",
557 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
558 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
559 | "dev": true,
560 | "requires": {
561 | "core-util-is": "~1.0.0",
562 | "inherits": "~2.0.3",
563 | "isarray": "~1.0.0",
564 | "process-nextick-args": "~2.0.0",
565 | "safe-buffer": "~5.1.1",
566 | "string_decoder": "~1.1.1",
567 | "util-deprecate": "~1.0.1"
568 | }
569 | },
570 | "responselike": {
571 | "version": "1.0.2",
572 | "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
573 | "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=",
574 | "dev": true,
575 | "requires": {
576 | "lowercase-keys": "^1.0.0"
577 | }
578 | },
579 | "roarr": {
580 | "version": "2.15.3",
581 | "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.3.tgz",
582 | "integrity": "sha512-AEjYvmAhlyxOeB9OqPUzQCo3kuAkNfuDk/HqWbZdFsqDFpapkTjiw+p4svNEoRLvuqNTxqfL+s+gtD4eDgZ+CA==",
583 | "dev": true,
584 | "optional": true,
585 | "requires": {
586 | "boolean": "^3.0.0",
587 | "detect-node": "^2.0.4",
588 | "globalthis": "^1.0.1",
589 | "json-stringify-safe": "^5.0.1",
590 | "semver-compare": "^1.0.0",
591 | "sprintf-js": "^1.1.2"
592 | }
593 | },
594 | "safe-buffer": {
595 | "version": "5.1.2",
596 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
597 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
598 | "dev": true
599 | },
600 | "sanitize-filename": {
601 | "version": "1.6.3",
602 | "resolved": "https://registry.npmjs.org/sanitize-filename/-/sanitize-filename-1.6.3.tgz",
603 | "integrity": "sha512-y/52Mcy7aw3gRm7IrcGDFx/bCk4AhRh2eI9luHOQM86nZsqwiRkkq2GekHXBBD+SmPidc8i2PqtYZl+pWJ8Oeg==",
604 | "dev": true,
605 | "requires": {
606 | "truncate-utf8-bytes": "^1.0.0"
607 | }
608 | },
609 | "semver": {
610 | "version": "7.3.2",
611 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",
612 | "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==",
613 | "dev": true,
614 | "optional": true
615 | },
616 | "semver-compare": {
617 | "version": "1.0.0",
618 | "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz",
619 | "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=",
620 | "dev": true,
621 | "optional": true
622 | },
623 | "serialize-error": {
624 | "version": "7.0.1",
625 | "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-7.0.1.tgz",
626 | "integrity": "sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==",
627 | "dev": true,
628 | "optional": true,
629 | "requires": {
630 | "type-fest": "^0.13.1"
631 | }
632 | },
633 | "sprintf-js": {
634 | "version": "1.1.2",
635 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz",
636 | "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==",
637 | "dev": true,
638 | "optional": true
639 | },
640 | "string_decoder": {
641 | "version": "1.1.1",
642 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
643 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
644 | "dev": true,
645 | "requires": {
646 | "safe-buffer": "~5.1.0"
647 | }
648 | },
649 | "sumchecker": {
650 | "version": "3.0.1",
651 | "resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-3.0.1.tgz",
652 | "integrity": "sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==",
653 | "dev": true,
654 | "requires": {
655 | "debug": "^4.1.0"
656 | }
657 | },
658 | "to-readable-stream": {
659 | "version": "1.0.0",
660 | "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",
661 | "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==",
662 | "dev": true
663 | },
664 | "truncate-utf8-bytes": {
665 | "version": "1.0.2",
666 | "resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz",
667 | "integrity": "sha1-QFkjkJWS1W94pYGENLC3hInKXys=",
668 | "dev": true,
669 | "requires": {
670 | "utf8-byte-length": "^1.0.1"
671 | }
672 | },
673 | "tunnel": {
674 | "version": "0.0.6",
675 | "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
676 | "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==",
677 | "dev": true,
678 | "optional": true
679 | },
680 | "type-fest": {
681 | "version": "0.13.1",
682 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz",
683 | "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==",
684 | "dev": true,
685 | "optional": true
686 | },
687 | "typedarray": {
688 | "version": "0.0.6",
689 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
690 | "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
691 | "dev": true
692 | },
693 | "universalify": {
694 | "version": "0.1.2",
695 | "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
696 | "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",
697 | "dev": true
698 | },
699 | "url-parse-lax": {
700 | "version": "3.0.0",
701 | "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
702 | "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=",
703 | "dev": true,
704 | "requires": {
705 | "prepend-http": "^2.0.0"
706 | }
707 | },
708 | "utf8-byte-length": {
709 | "version": "1.0.4",
710 | "resolved": "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz",
711 | "integrity": "sha1-9F8VDExm7uloGGUFq5P8u4rWv2E=",
712 | "dev": true
713 | },
714 | "util-deprecate": {
715 | "version": "1.0.2",
716 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
717 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
718 | "dev": true
719 | },
720 | "wrappy": {
721 | "version": "1.0.2",
722 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
723 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
724 | "dev": true
725 | },
726 | "yauzl": {
727 | "version": "2.10.0",
728 | "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
729 | "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=",
730 | "dev": true,
731 | "requires": {
732 | "buffer-crc32": "~0.2.3",
733 | "fd-slicer": "~1.1.0"
734 | }
735 | }
736 | }
737 | }
738 |
--------------------------------------------------------------------------------
/Php Electronjs v0.3/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "php",
3 | "version": "0.1.0",
4 | "description": "Php Server in Electron",
5 | "license": "MIT",
6 | "repository": "https://github.com/MEGAMINDMK",
7 | "main": "main.js",
8 | "scripts": {
9 | "start": "electron ."
10 | },
11 | "devDependencies": {
12 | "electron": "^7.2.4"
13 | },
14 | "dependencies": {
15 | "child-process": "^1.0.2"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Php Electronjs v0.3/php/README.md:
--------------------------------------------------------------------------------
1 |
9 |
10 | # The PHP files are missing
11 | - Re download the full php from official site
12 | - Use the xampp/php (Recomended)
13 |
--------------------------------------------------------------------------------
/Php Electronjs v0.3/php/www/index.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Php Electronjs v0.4/README.MD:
--------------------------------------------------------------------------------
1 |
16 |
17 | # PHP-Electronjs
18 | A working php server with electronjs fully customizable & easy to use
19 |
20 | # Steps
21 | - npm i
22 | - npm start
23 | - npm run package-win
24 |
25 | # Download
26 | Clicky ! v0.4
27 |
--------------------------------------------------------------------------------
/Php Electronjs v0.4/extraResources/php/README.MD:
--------------------------------------------------------------------------------
1 |
9 |
10 | # The PHP files are missing
11 | - Re download the full php from official site
12 | - Use the xampp/php (Recomended)
--------------------------------------------------------------------------------
/Php Electronjs v0.4/extraResources/php/www/index.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Php Electronjs v0.4/icon/icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MEGAMINDMK/Php-Electronjs/ce57caecc08e2635a78537084816da8f541160dc/Php Electronjs v0.4/icon/icon.ico
--------------------------------------------------------------------------------
/Php Electronjs v0.4/index.html:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
26 |
--------------------------------------------------------------------------------
/Php Electronjs v0.4/main.js:
--------------------------------------------------------------------------------
1 | const electron = require("electron");
2 | const BrowserWindow = electron.BrowserWindow;
3 | const app = electron.app;
4 | const Menu = electron.Menu;
5 | const MenuItem = electron.MenuItem
6 | let win
7 |
8 | function createWindow () {
9 | win = new BrowserWindow({ width: 1000, height: 700, icon: __dirname + 'icon/icon.ico'})
10 | win.setMenu(null)
11 | win.loadFile('index.html')
12 | win.on('closed', () => {
13 | win = null
14 | })
15 | }
16 |
17 | app.on('ready', createWindow)
18 |
19 | app.on('window-all-closed', () => {
20 | if (process.platform !== 'windows') {
21 | //var myBatFilePath = "stop.bat";
22 | //const spawn = require('child_process').spawn;
23 | //const bat = spawn('cmd.exe', ['/c', myBatFilePath]);
24 | const exec = require('child_process').exec;
25 | exec('taskkill /F /IM php.exe', (e, stdout, stderr)=> {
26 | if (e instanceof Error) {
27 | console.error(e);
28 | throw e;
29 | }
30 | console.log('stdout ', stdout);
31 | console.log('stderr ', stderr);
32 | });
33 | app.quit()
34 | }
35 | })
36 |
37 | app.on('activate', () => {
38 | if (win === null) {
39 | createWindow()
40 | }
41 | })
--------------------------------------------------------------------------------
/Php Electronjs v0.4/node_modules/README.MD:
--------------------------------------------------------------------------------
1 | # NPM I
2 | - Install all modules using npm i
--------------------------------------------------------------------------------
/Php Electronjs v0.4/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "php",
3 | "version": "0.1.0",
4 | "lockfileVersion": 1,
5 | "requires": true,
6 | "dependencies": {
7 | "@electron/get": {
8 | "version": "1.12.2",
9 | "resolved": "https://registry.npmjs.org/@electron/get/-/get-1.12.2.tgz",
10 | "integrity": "sha512-vAuHUbfvBQpYTJ5wB7uVIDq5c/Ry0fiTBMs7lnEYAo/qXXppIVcWdfBr57u6eRnKdVso7KSiH6p/LbQAG6Izrg==",
11 | "dev": true,
12 | "requires": {
13 | "debug": "^4.1.1",
14 | "env-paths": "^2.2.0",
15 | "fs-extra": "^8.1.0",
16 | "global-agent": "^2.0.2",
17 | "global-tunnel-ng": "^2.7.1",
18 | "got": "^9.6.0",
19 | "progress": "^2.0.3",
20 | "sanitize-filename": "^1.6.2",
21 | "sumchecker": "^3.0.1"
22 | }
23 | },
24 | "@sindresorhus/is": {
25 | "version": "0.14.0",
26 | "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
27 | "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==",
28 | "dev": true
29 | },
30 | "@szmarczak/http-timer": {
31 | "version": "1.1.2",
32 | "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",
33 | "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",
34 | "dev": true,
35 | "requires": {
36 | "defer-to-connect": "^1.0.1"
37 | }
38 | },
39 | "@types/node": {
40 | "version": "12.12.53",
41 | "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.53.tgz",
42 | "integrity": "sha512-51MYTDTyCziHb70wtGNFRwB4l+5JNvdqzFSkbDvpbftEgVUBEE+T5f7pROhWMp/fxp07oNIEQZd5bbfAH22ohQ==",
43 | "dev": true
44 | },
45 | "boolean": {
46 | "version": "3.0.1",
47 | "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.0.1.tgz",
48 | "integrity": "sha512-HRZPIjPcbwAVQvOTxR4YE3o8Xs98NqbbL1iEZDCz7CL8ql0Lt5iOyJFxfnAB0oFs8Oh02F/lLlg30Mexv46LjA==",
49 | "dev": true,
50 | "optional": true
51 | },
52 | "buffer-crc32": {
53 | "version": "0.2.13",
54 | "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
55 | "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=",
56 | "dev": true
57 | },
58 | "buffer-from": {
59 | "version": "1.1.1",
60 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
61 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",
62 | "dev": true
63 | },
64 | "cacheable-request": {
65 | "version": "6.1.0",
66 | "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
67 | "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==",
68 | "dev": true,
69 | "requires": {
70 | "clone-response": "^1.0.2",
71 | "get-stream": "^5.1.0",
72 | "http-cache-semantics": "^4.0.0",
73 | "keyv": "^3.0.0",
74 | "lowercase-keys": "^2.0.0",
75 | "normalize-url": "^4.1.0",
76 | "responselike": "^1.0.2"
77 | },
78 | "dependencies": {
79 | "get-stream": {
80 | "version": "5.1.0",
81 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz",
82 | "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==",
83 | "dev": true,
84 | "requires": {
85 | "pump": "^3.0.0"
86 | }
87 | },
88 | "lowercase-keys": {
89 | "version": "2.0.0",
90 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
91 | "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==",
92 | "dev": true
93 | }
94 | }
95 | },
96 | "child-process": {
97 | "version": "1.0.2",
98 | "resolved": "https://registry.npmjs.org/child-process/-/child-process-1.0.2.tgz",
99 | "integrity": "sha1-mJdNx+0e5MYin44wX6cxOmiFp/I="
100 | },
101 | "clone-response": {
102 | "version": "1.0.2",
103 | "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
104 | "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=",
105 | "dev": true,
106 | "requires": {
107 | "mimic-response": "^1.0.0"
108 | }
109 | },
110 | "concat-stream": {
111 | "version": "1.6.2",
112 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
113 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
114 | "dev": true,
115 | "requires": {
116 | "buffer-from": "^1.0.0",
117 | "inherits": "^2.0.3",
118 | "readable-stream": "^2.2.2",
119 | "typedarray": "^0.0.6"
120 | }
121 | },
122 | "config-chain": {
123 | "version": "1.1.12",
124 | "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.12.tgz",
125 | "integrity": "sha512-a1eOIcu8+7lUInge4Rpf/n4Krkf3Dd9lqhljRzII1/Zno/kRtUWnznPO3jOKBmTEktkt3fkxisUcivoj0ebzoA==",
126 | "dev": true,
127 | "optional": true,
128 | "requires": {
129 | "ini": "^1.3.4",
130 | "proto-list": "~1.2.1"
131 | }
132 | },
133 | "core-js": {
134 | "version": "3.6.5",
135 | "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz",
136 | "integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==",
137 | "dev": true,
138 | "optional": true
139 | },
140 | "core-util-is": {
141 | "version": "1.0.2",
142 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
143 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
144 | "dev": true
145 | },
146 | "debug": {
147 | "version": "4.1.1",
148 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
149 | "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
150 | "dev": true,
151 | "requires": {
152 | "ms": "^2.1.1"
153 | }
154 | },
155 | "decompress-response": {
156 | "version": "3.3.0",
157 | "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz",
158 | "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=",
159 | "dev": true,
160 | "requires": {
161 | "mimic-response": "^1.0.0"
162 | }
163 | },
164 | "defer-to-connect": {
165 | "version": "1.1.3",
166 | "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz",
167 | "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==",
168 | "dev": true
169 | },
170 | "define-properties": {
171 | "version": "1.1.3",
172 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
173 | "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
174 | "dev": true,
175 | "optional": true,
176 | "requires": {
177 | "object-keys": "^1.0.12"
178 | }
179 | },
180 | "detect-node": {
181 | "version": "2.0.4",
182 | "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz",
183 | "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==",
184 | "dev": true,
185 | "optional": true
186 | },
187 | "duplexer3": {
188 | "version": "0.1.4",
189 | "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",
190 | "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=",
191 | "dev": true
192 | },
193 | "electron": {
194 | "version": "7.2.4",
195 | "resolved": "https://registry.npmjs.org/electron/-/electron-7.2.4.tgz",
196 | "integrity": "sha512-Z+R692uTzXgP8AHrabE+kkrMlQJ6pnAYoINenwj9QSqaD2YbO8IuXU9DMCcUY0+VpA91ee09wFZJNUKYPMnCKg==",
197 | "dev": true,
198 | "requires": {
199 | "@electron/get": "^1.0.1",
200 | "@types/node": "^12.0.12",
201 | "extract-zip": "^1.0.3"
202 | }
203 | },
204 | "encodeurl": {
205 | "version": "1.0.2",
206 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
207 | "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=",
208 | "dev": true,
209 | "optional": true
210 | },
211 | "end-of-stream": {
212 | "version": "1.4.4",
213 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
214 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
215 | "dev": true,
216 | "requires": {
217 | "once": "^1.4.0"
218 | }
219 | },
220 | "env-paths": {
221 | "version": "2.2.0",
222 | "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.0.tgz",
223 | "integrity": "sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA==",
224 | "dev": true
225 | },
226 | "es6-error": {
227 | "version": "4.1.1",
228 | "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz",
229 | "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==",
230 | "dev": true,
231 | "optional": true
232 | },
233 | "escape-string-regexp": {
234 | "version": "4.0.0",
235 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
236 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
237 | "dev": true,
238 | "optional": true
239 | },
240 | "extract-zip": {
241 | "version": "1.7.0",
242 | "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.7.0.tgz",
243 | "integrity": "sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==",
244 | "dev": true,
245 | "requires": {
246 | "concat-stream": "^1.6.2",
247 | "debug": "^2.6.9",
248 | "mkdirp": "^0.5.4",
249 | "yauzl": "^2.10.0"
250 | },
251 | "dependencies": {
252 | "debug": {
253 | "version": "2.6.9",
254 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
255 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
256 | "dev": true,
257 | "requires": {
258 | "ms": "2.0.0"
259 | }
260 | },
261 | "ms": {
262 | "version": "2.0.0",
263 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
264 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
265 | "dev": true
266 | }
267 | }
268 | },
269 | "fd-slicer": {
270 | "version": "1.1.0",
271 | "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
272 | "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=",
273 | "dev": true,
274 | "requires": {
275 | "pend": "~1.2.0"
276 | }
277 | },
278 | "fs-extra": {
279 | "version": "8.1.0",
280 | "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
281 | "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
282 | "dev": true,
283 | "requires": {
284 | "graceful-fs": "^4.2.0",
285 | "jsonfile": "^4.0.0",
286 | "universalify": "^0.1.0"
287 | }
288 | },
289 | "get-stream": {
290 | "version": "4.1.0",
291 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
292 | "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
293 | "dev": true,
294 | "requires": {
295 | "pump": "^3.0.0"
296 | }
297 | },
298 | "global-agent": {
299 | "version": "2.1.12",
300 | "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-2.1.12.tgz",
301 | "integrity": "sha512-caAljRMS/qcDo69X9BfkgrihGUgGx44Fb4QQToNQjsiWh+YlQ66uqYVAdA8Olqit+5Ng0nkz09je3ZzANMZcjg==",
302 | "dev": true,
303 | "optional": true,
304 | "requires": {
305 | "boolean": "^3.0.1",
306 | "core-js": "^3.6.5",
307 | "es6-error": "^4.1.1",
308 | "matcher": "^3.0.0",
309 | "roarr": "^2.15.3",
310 | "semver": "^7.3.2",
311 | "serialize-error": "^7.0.1"
312 | }
313 | },
314 | "global-tunnel-ng": {
315 | "version": "2.7.1",
316 | "resolved": "https://registry.npmjs.org/global-tunnel-ng/-/global-tunnel-ng-2.7.1.tgz",
317 | "integrity": "sha512-4s+DyciWBV0eK148wqXxcmVAbFVPqtc3sEtUE/GTQfuU80rySLcMhUmHKSHI7/LDj8q0gDYI1lIhRRB7ieRAqg==",
318 | "dev": true,
319 | "optional": true,
320 | "requires": {
321 | "encodeurl": "^1.0.2",
322 | "lodash": "^4.17.10",
323 | "npm-conf": "^1.1.3",
324 | "tunnel": "^0.0.6"
325 | }
326 | },
327 | "globalthis": {
328 | "version": "1.0.1",
329 | "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.1.tgz",
330 | "integrity": "sha512-mJPRTc/P39NH/iNG4mXa9aIhNymaQikTrnspeCa2ZuJ+mH2QN/rXwtX3XwKrHqWgUQFbNZKtHM105aHzJalElw==",
331 | "dev": true,
332 | "optional": true,
333 | "requires": {
334 | "define-properties": "^1.1.3"
335 | }
336 | },
337 | "got": {
338 | "version": "9.6.0",
339 | "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",
340 | "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==",
341 | "dev": true,
342 | "requires": {
343 | "@sindresorhus/is": "^0.14.0",
344 | "@szmarczak/http-timer": "^1.1.2",
345 | "cacheable-request": "^6.0.0",
346 | "decompress-response": "^3.3.0",
347 | "duplexer3": "^0.1.4",
348 | "get-stream": "^4.1.0",
349 | "lowercase-keys": "^1.0.1",
350 | "mimic-response": "^1.0.1",
351 | "p-cancelable": "^1.0.0",
352 | "to-readable-stream": "^1.0.0",
353 | "url-parse-lax": "^3.0.0"
354 | }
355 | },
356 | "graceful-fs": {
357 | "version": "4.2.4",
358 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
359 | "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==",
360 | "dev": true
361 | },
362 | "http-cache-semantics": {
363 | "version": "4.1.0",
364 | "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",
365 | "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==",
366 | "dev": true
367 | },
368 | "inherits": {
369 | "version": "2.0.4",
370 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
371 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
372 | "dev": true
373 | },
374 | "ini": {
375 | "version": "1.3.8",
376 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
377 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
378 | "dev": true,
379 | "optional": true
380 | },
381 | "isarray": {
382 | "version": "1.0.0",
383 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
384 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
385 | "dev": true
386 | },
387 | "json-buffer": {
388 | "version": "3.0.0",
389 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
390 | "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=",
391 | "dev": true
392 | },
393 | "json-stringify-safe": {
394 | "version": "5.0.1",
395 | "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
396 | "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
397 | "dev": true,
398 | "optional": true
399 | },
400 | "jsonfile": {
401 | "version": "4.0.0",
402 | "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
403 | "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
404 | "dev": true,
405 | "requires": {
406 | "graceful-fs": "^4.1.6"
407 | }
408 | },
409 | "keyv": {
410 | "version": "3.1.0",
411 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",
412 | "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==",
413 | "dev": true,
414 | "requires": {
415 | "json-buffer": "3.0.0"
416 | }
417 | },
418 | "lodash": {
419 | "version": "4.17.19",
420 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
421 | "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==",
422 | "dev": true,
423 | "optional": true
424 | },
425 | "lowercase-keys": {
426 | "version": "1.0.1",
427 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
428 | "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==",
429 | "dev": true
430 | },
431 | "matcher": {
432 | "version": "3.0.0",
433 | "resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz",
434 | "integrity": "sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==",
435 | "dev": true,
436 | "optional": true,
437 | "requires": {
438 | "escape-string-regexp": "^4.0.0"
439 | }
440 | },
441 | "mimic-response": {
442 | "version": "1.0.1",
443 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
444 | "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",
445 | "dev": true
446 | },
447 | "minimist": {
448 | "version": "1.2.5",
449 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
450 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
451 | "dev": true
452 | },
453 | "mkdirp": {
454 | "version": "0.5.5",
455 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
456 | "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
457 | "dev": true,
458 | "requires": {
459 | "minimist": "^1.2.5"
460 | }
461 | },
462 | "ms": {
463 | "version": "2.1.2",
464 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
465 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
466 | "dev": true
467 | },
468 | "normalize-url": {
469 | "version": "4.5.0",
470 | "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
471 | "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==",
472 | "dev": true
473 | },
474 | "npm-conf": {
475 | "version": "1.1.3",
476 | "resolved": "https://registry.npmjs.org/npm-conf/-/npm-conf-1.1.3.tgz",
477 | "integrity": "sha512-Yic4bZHJOt9RCFbRP3GgpqhScOY4HH3V2P8yBj6CeYq118Qr+BLXqT2JvpJ00mryLESpgOxf5XlFv4ZjXxLScw==",
478 | "dev": true,
479 | "optional": true,
480 | "requires": {
481 | "config-chain": "^1.1.11",
482 | "pify": "^3.0.0"
483 | }
484 | },
485 | "object-keys": {
486 | "version": "1.1.1",
487 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
488 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
489 | "dev": true,
490 | "optional": true
491 | },
492 | "once": {
493 | "version": "1.4.0",
494 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
495 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
496 | "dev": true,
497 | "requires": {
498 | "wrappy": "1"
499 | }
500 | },
501 | "p-cancelable": {
502 | "version": "1.1.0",
503 | "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
504 | "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==",
505 | "dev": true
506 | },
507 | "pend": {
508 | "version": "1.2.0",
509 | "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
510 | "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=",
511 | "dev": true
512 | },
513 | "pify": {
514 | "version": "3.0.0",
515 | "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
516 | "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
517 | "dev": true,
518 | "optional": true
519 | },
520 | "prepend-http": {
521 | "version": "2.0.0",
522 | "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
523 | "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=",
524 | "dev": true
525 | },
526 | "process-nextick-args": {
527 | "version": "2.0.1",
528 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
529 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
530 | "dev": true
531 | },
532 | "progress": {
533 | "version": "2.0.3",
534 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
535 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
536 | "dev": true
537 | },
538 | "proto-list": {
539 | "version": "1.2.4",
540 | "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz",
541 | "integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=",
542 | "dev": true,
543 | "optional": true
544 | },
545 | "pump": {
546 | "version": "3.0.0",
547 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
548 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
549 | "dev": true,
550 | "requires": {
551 | "end-of-stream": "^1.1.0",
552 | "once": "^1.3.1"
553 | }
554 | },
555 | "readable-stream": {
556 | "version": "2.3.7",
557 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
558 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
559 | "dev": true,
560 | "requires": {
561 | "core-util-is": "~1.0.0",
562 | "inherits": "~2.0.3",
563 | "isarray": "~1.0.0",
564 | "process-nextick-args": "~2.0.0",
565 | "safe-buffer": "~5.1.1",
566 | "string_decoder": "~1.1.1",
567 | "util-deprecate": "~1.0.1"
568 | }
569 | },
570 | "responselike": {
571 | "version": "1.0.2",
572 | "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
573 | "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=",
574 | "dev": true,
575 | "requires": {
576 | "lowercase-keys": "^1.0.0"
577 | }
578 | },
579 | "roarr": {
580 | "version": "2.15.3",
581 | "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.3.tgz",
582 | "integrity": "sha512-AEjYvmAhlyxOeB9OqPUzQCo3kuAkNfuDk/HqWbZdFsqDFpapkTjiw+p4svNEoRLvuqNTxqfL+s+gtD4eDgZ+CA==",
583 | "dev": true,
584 | "optional": true,
585 | "requires": {
586 | "boolean": "^3.0.0",
587 | "detect-node": "^2.0.4",
588 | "globalthis": "^1.0.1",
589 | "json-stringify-safe": "^5.0.1",
590 | "semver-compare": "^1.0.0",
591 | "sprintf-js": "^1.1.2"
592 | }
593 | },
594 | "safe-buffer": {
595 | "version": "5.1.2",
596 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
597 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
598 | "dev": true
599 | },
600 | "sanitize-filename": {
601 | "version": "1.6.3",
602 | "resolved": "https://registry.npmjs.org/sanitize-filename/-/sanitize-filename-1.6.3.tgz",
603 | "integrity": "sha512-y/52Mcy7aw3gRm7IrcGDFx/bCk4AhRh2eI9luHOQM86nZsqwiRkkq2GekHXBBD+SmPidc8i2PqtYZl+pWJ8Oeg==",
604 | "dev": true,
605 | "requires": {
606 | "truncate-utf8-bytes": "^1.0.0"
607 | }
608 | },
609 | "semver": {
610 | "version": "7.3.2",
611 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",
612 | "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==",
613 | "dev": true,
614 | "optional": true
615 | },
616 | "semver-compare": {
617 | "version": "1.0.0",
618 | "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz",
619 | "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=",
620 | "dev": true,
621 | "optional": true
622 | },
623 | "serialize-error": {
624 | "version": "7.0.1",
625 | "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-7.0.1.tgz",
626 | "integrity": "sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==",
627 | "dev": true,
628 | "optional": true,
629 | "requires": {
630 | "type-fest": "^0.13.1"
631 | }
632 | },
633 | "sprintf-js": {
634 | "version": "1.1.2",
635 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz",
636 | "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==",
637 | "dev": true,
638 | "optional": true
639 | },
640 | "string_decoder": {
641 | "version": "1.1.1",
642 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
643 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
644 | "dev": true,
645 | "requires": {
646 | "safe-buffer": "~5.1.0"
647 | }
648 | },
649 | "sumchecker": {
650 | "version": "3.0.1",
651 | "resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-3.0.1.tgz",
652 | "integrity": "sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==",
653 | "dev": true,
654 | "requires": {
655 | "debug": "^4.1.0"
656 | }
657 | },
658 | "to-readable-stream": {
659 | "version": "1.0.0",
660 | "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",
661 | "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==",
662 | "dev": true
663 | },
664 | "truncate-utf8-bytes": {
665 | "version": "1.0.2",
666 | "resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz",
667 | "integrity": "sha1-QFkjkJWS1W94pYGENLC3hInKXys=",
668 | "dev": true,
669 | "requires": {
670 | "utf8-byte-length": "^1.0.1"
671 | }
672 | },
673 | "tunnel": {
674 | "version": "0.0.6",
675 | "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
676 | "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==",
677 | "dev": true,
678 | "optional": true
679 | },
680 | "type-fest": {
681 | "version": "0.13.1",
682 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz",
683 | "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==",
684 | "dev": true,
685 | "optional": true
686 | },
687 | "typedarray": {
688 | "version": "0.0.6",
689 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
690 | "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
691 | "dev": true
692 | },
693 | "universalify": {
694 | "version": "0.1.2",
695 | "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
696 | "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",
697 | "dev": true
698 | },
699 | "url-parse-lax": {
700 | "version": "3.0.0",
701 | "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
702 | "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=",
703 | "dev": true,
704 | "requires": {
705 | "prepend-http": "^2.0.0"
706 | }
707 | },
708 | "utf8-byte-length": {
709 | "version": "1.0.4",
710 | "resolved": "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz",
711 | "integrity": "sha1-9F8VDExm7uloGGUFq5P8u4rWv2E=",
712 | "dev": true
713 | },
714 | "util-deprecate": {
715 | "version": "1.0.2",
716 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
717 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
718 | "dev": true
719 | },
720 | "wrappy": {
721 | "version": "1.0.2",
722 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
723 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
724 | "dev": true
725 | },
726 | "yauzl": {
727 | "version": "2.10.0",
728 | "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
729 | "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=",
730 | "dev": true,
731 | "requires": {
732 | "buffer-crc32": "~0.2.3",
733 | "fd-slicer": "~1.1.0"
734 | }
735 | }
736 | }
737 | }
738 |
--------------------------------------------------------------------------------
/Php Electronjs v0.4/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "php",
3 | "version": "0.1.0",
4 | "description": "Php Server in Electron",
5 | "license": "MIT",
6 | "repository": "https://github.com/MEGAMINDMK",
7 | "main": "main.js",
8 | "scripts": {
9 | "start": "electron .",
10 | "package-win": "electron-packager . --asar --overwrite --platform=win32 --icon=icon/icon.ico --prune=true --extra-resource=./extraResources/php"
11 | },
12 | "devDependencies": {
13 | "electron": "^7.2.4"
14 | },
15 | "dependencies": {
16 | "child-process": "^1.0.2"
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/Php Electronjs v0.5/README.MD:
--------------------------------------------------------------------------------
1 |
16 |
17 | # PHP-Electronjs
18 | A working php server with electronjs fully customizable & easy to use
19 |
20 | # Steps
21 | - npm i
22 | - npm start
23 | - npm run package-win
24 |
25 | # Download
26 | Clicky ! v0.5
27 |
--------------------------------------------------------------------------------
/Php Electronjs v0.5/extraResources/php/README.MD:
--------------------------------------------------------------------------------
1 |
9 |
10 | # The PHP files are missing
11 | - Re download the full php from official site
12 | - Use the xampp/php (Recomended)
13 |
--------------------------------------------------------------------------------
/Php Electronjs v0.5/extraResources/php/www/index.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Php Electronjs v0.5/icon/icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MEGAMINDMK/Php-Electronjs/ce57caecc08e2635a78537084816da8f541160dc/Php Electronjs v0.5/icon/icon.ico
--------------------------------------------------------------------------------
/Php Electronjs v0.5/index.html:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
30 |
--------------------------------------------------------------------------------
/Php Electronjs v0.5/main.js:
--------------------------------------------------------------------------------
1 | const electron = require("electron");
2 | const BrowserWindow = electron.BrowserWindow;
3 | const app = electron.app;
4 | const Menu = electron.Menu;
5 | const MenuItem = electron.MenuItem
6 | let win
7 |
8 | function createWindow () {
9 | win = new BrowserWindow({ width: 1000, height: 700, icon: __dirname + 'icon/icon.ico'})
10 | win.setMenu(null)
11 | win.loadFile('index.html')
12 | win.on('closed', () => {
13 | win = null
14 | })
15 | }
16 |
17 | app.on('ready', createWindow)
18 |
19 | app.on('window-all-closed', () => {
20 | if (process.platform !== 'windows') {
21 | //var myBatFilePath = "stop.bat";
22 | //const spawn = require('child_process').spawn;
23 | //const bat = spawn('cmd.exe', ['/c', myBatFilePath]);
24 | const exec = require('child_process').exec;
25 | exec('taskkill /F /IM php.exe', (e, stdout, stderr)=> {
26 | if (e instanceof Error) {
27 | console.error(e);
28 | throw e;
29 | }
30 | console.log('stdout ', stdout);
31 | console.log('stderr ', stderr);
32 | });
33 | app.quit()
34 | }
35 | })
36 |
37 | app.on('activate', () => {
38 | if (win === null) {
39 | createWindow()
40 | }
41 | })
--------------------------------------------------------------------------------
/Php Electronjs v0.5/node_modules/README.MD:
--------------------------------------------------------------------------------
1 | # NPM I
2 | - Install all modules using npm i
3 |
--------------------------------------------------------------------------------
/Php Electronjs v0.5/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "php",
3 | "version": "0.1.0",
4 | "lockfileVersion": 1,
5 | "requires": true,
6 | "dependencies": {
7 | "@electron/get": {
8 | "version": "1.12.2",
9 | "resolved": "https://registry.npmjs.org/@electron/get/-/get-1.12.2.tgz",
10 | "integrity": "sha512-vAuHUbfvBQpYTJ5wB7uVIDq5c/Ry0fiTBMs7lnEYAo/qXXppIVcWdfBr57u6eRnKdVso7KSiH6p/LbQAG6Izrg==",
11 | "dev": true,
12 | "requires": {
13 | "debug": "^4.1.1",
14 | "env-paths": "^2.2.0",
15 | "fs-extra": "^8.1.0",
16 | "global-agent": "^2.0.2",
17 | "global-tunnel-ng": "^2.7.1",
18 | "got": "^9.6.0",
19 | "progress": "^2.0.3",
20 | "sanitize-filename": "^1.6.2",
21 | "sumchecker": "^3.0.1"
22 | }
23 | },
24 | "@sindresorhus/is": {
25 | "version": "0.14.0",
26 | "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
27 | "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==",
28 | "dev": true
29 | },
30 | "@szmarczak/http-timer": {
31 | "version": "1.1.2",
32 | "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",
33 | "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",
34 | "dev": true,
35 | "requires": {
36 | "defer-to-connect": "^1.0.1"
37 | }
38 | },
39 | "@types/node": {
40 | "version": "12.19.11",
41 | "resolved": "https://registry.npmjs.org/@types/node/-/node-12.19.11.tgz",
42 | "integrity": "sha512-bwVfNTFZOrGXyiQ6t4B9sZerMSShWNsGRw8tC5DY1qImUNczS9SjT4G6PnzjCnxsu5Ubj6xjL2lgwddkxtQl5w==",
43 | "dev": true
44 | },
45 | "boolean": {
46 | "version": "3.0.2",
47 | "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.0.2.tgz",
48 | "integrity": "sha512-RwywHlpCRc3/Wh81MiCKun4ydaIFyW5Ea6JbL6sRCVx5q5irDw7pMXBUFYF/jArQ6YrG36q0kpovc9P/Kd3I4g==",
49 | "dev": true,
50 | "optional": true
51 | },
52 | "buffer-crc32": {
53 | "version": "0.2.13",
54 | "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
55 | "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=",
56 | "dev": true
57 | },
58 | "buffer-from": {
59 | "version": "1.1.1",
60 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
61 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",
62 | "dev": true
63 | },
64 | "cacheable-request": {
65 | "version": "6.1.0",
66 | "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
67 | "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==",
68 | "dev": true,
69 | "requires": {
70 | "clone-response": "^1.0.2",
71 | "get-stream": "^5.1.0",
72 | "http-cache-semantics": "^4.0.0",
73 | "keyv": "^3.0.0",
74 | "lowercase-keys": "^2.0.0",
75 | "normalize-url": "^4.1.0",
76 | "responselike": "^1.0.2"
77 | },
78 | "dependencies": {
79 | "get-stream": {
80 | "version": "5.2.0",
81 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
82 | "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
83 | "dev": true,
84 | "requires": {
85 | "pump": "^3.0.0"
86 | }
87 | },
88 | "lowercase-keys": {
89 | "version": "2.0.0",
90 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
91 | "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==",
92 | "dev": true
93 | }
94 | }
95 | },
96 | "child-process": {
97 | "version": "1.0.2",
98 | "resolved": "https://registry.npmjs.org/child-process/-/child-process-1.0.2.tgz",
99 | "integrity": "sha1-mJdNx+0e5MYin44wX6cxOmiFp/I="
100 | },
101 | "clone-response": {
102 | "version": "1.0.2",
103 | "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
104 | "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=",
105 | "dev": true,
106 | "requires": {
107 | "mimic-response": "^1.0.0"
108 | }
109 | },
110 | "concat-stream": {
111 | "version": "1.6.2",
112 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
113 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
114 | "dev": true,
115 | "requires": {
116 | "buffer-from": "^1.0.0",
117 | "inherits": "^2.0.3",
118 | "readable-stream": "^2.2.2",
119 | "typedarray": "^0.0.6"
120 | }
121 | },
122 | "config-chain": {
123 | "version": "1.1.12",
124 | "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.12.tgz",
125 | "integrity": "sha512-a1eOIcu8+7lUInge4Rpf/n4Krkf3Dd9lqhljRzII1/Zno/kRtUWnznPO3jOKBmTEktkt3fkxisUcivoj0ebzoA==",
126 | "dev": true,
127 | "optional": true,
128 | "requires": {
129 | "ini": "^1.3.4",
130 | "proto-list": "~1.2.1"
131 | }
132 | },
133 | "core-js": {
134 | "version": "3.8.1",
135 | "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.8.1.tgz",
136 | "integrity": "sha512-9Id2xHY1W7m8hCl8NkhQn5CufmF/WuR30BTRewvCXc1aZd3kMECwNZ69ndLbekKfakw9Rf2Xyc+QR6E7Gg+obg==",
137 | "dev": true,
138 | "optional": true
139 | },
140 | "core-util-is": {
141 | "version": "1.0.2",
142 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
143 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
144 | "dev": true
145 | },
146 | "debug": {
147 | "version": "4.3.1",
148 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
149 | "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
150 | "dev": true,
151 | "requires": {
152 | "ms": "2.1.2"
153 | }
154 | },
155 | "decompress-response": {
156 | "version": "3.3.0",
157 | "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz",
158 | "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=",
159 | "dev": true,
160 | "requires": {
161 | "mimic-response": "^1.0.0"
162 | }
163 | },
164 | "defer-to-connect": {
165 | "version": "1.1.3",
166 | "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz",
167 | "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==",
168 | "dev": true
169 | },
170 | "define-properties": {
171 | "version": "1.1.3",
172 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
173 | "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
174 | "dev": true,
175 | "optional": true,
176 | "requires": {
177 | "object-keys": "^1.0.12"
178 | }
179 | },
180 | "detect-node": {
181 | "version": "2.0.4",
182 | "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz",
183 | "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==",
184 | "dev": true,
185 | "optional": true
186 | },
187 | "duplexer3": {
188 | "version": "0.1.4",
189 | "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",
190 | "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=",
191 | "dev": true
192 | },
193 | "electron": {
194 | "version": "7.2.4",
195 | "resolved": "https://registry.npmjs.org/electron/-/electron-7.2.4.tgz",
196 | "integrity": "sha512-Z+R692uTzXgP8AHrabE+kkrMlQJ6pnAYoINenwj9QSqaD2YbO8IuXU9DMCcUY0+VpA91ee09wFZJNUKYPMnCKg==",
197 | "dev": true,
198 | "requires": {
199 | "@electron/get": "^1.0.1",
200 | "@types/node": "^12.0.12",
201 | "extract-zip": "^1.0.3"
202 | }
203 | },
204 | "encodeurl": {
205 | "version": "1.0.2",
206 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
207 | "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=",
208 | "dev": true,
209 | "optional": true
210 | },
211 | "end-of-stream": {
212 | "version": "1.4.4",
213 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
214 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
215 | "dev": true,
216 | "requires": {
217 | "once": "^1.4.0"
218 | }
219 | },
220 | "env-paths": {
221 | "version": "2.2.0",
222 | "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.0.tgz",
223 | "integrity": "sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA==",
224 | "dev": true
225 | },
226 | "es6-error": {
227 | "version": "4.1.1",
228 | "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz",
229 | "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==",
230 | "dev": true,
231 | "optional": true
232 | },
233 | "escape-string-regexp": {
234 | "version": "4.0.0",
235 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
236 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
237 | "dev": true,
238 | "optional": true
239 | },
240 | "extract-zip": {
241 | "version": "1.7.0",
242 | "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.7.0.tgz",
243 | "integrity": "sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==",
244 | "dev": true,
245 | "requires": {
246 | "concat-stream": "^1.6.2",
247 | "debug": "^2.6.9",
248 | "mkdirp": "^0.5.4",
249 | "yauzl": "^2.10.0"
250 | },
251 | "dependencies": {
252 | "debug": {
253 | "version": "2.6.9",
254 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
255 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
256 | "dev": true,
257 | "requires": {
258 | "ms": "2.0.0"
259 | }
260 | },
261 | "ms": {
262 | "version": "2.0.0",
263 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
264 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
265 | "dev": true
266 | }
267 | }
268 | },
269 | "fd-slicer": {
270 | "version": "1.1.0",
271 | "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
272 | "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=",
273 | "dev": true,
274 | "requires": {
275 | "pend": "~1.2.0"
276 | }
277 | },
278 | "fs-extra": {
279 | "version": "8.1.0",
280 | "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
281 | "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
282 | "dev": true,
283 | "requires": {
284 | "graceful-fs": "^4.2.0",
285 | "jsonfile": "^4.0.0",
286 | "universalify": "^0.1.0"
287 | }
288 | },
289 | "get-stream": {
290 | "version": "4.1.0",
291 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
292 | "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
293 | "dev": true,
294 | "requires": {
295 | "pump": "^3.0.0"
296 | }
297 | },
298 | "global-agent": {
299 | "version": "2.1.12",
300 | "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-2.1.12.tgz",
301 | "integrity": "sha512-caAljRMS/qcDo69X9BfkgrihGUgGx44Fb4QQToNQjsiWh+YlQ66uqYVAdA8Olqit+5Ng0nkz09je3ZzANMZcjg==",
302 | "dev": true,
303 | "optional": true,
304 | "requires": {
305 | "boolean": "^3.0.1",
306 | "core-js": "^3.6.5",
307 | "es6-error": "^4.1.1",
308 | "matcher": "^3.0.0",
309 | "roarr": "^2.15.3",
310 | "semver": "^7.3.2",
311 | "serialize-error": "^7.0.1"
312 | }
313 | },
314 | "global-tunnel-ng": {
315 | "version": "2.7.1",
316 | "resolved": "https://registry.npmjs.org/global-tunnel-ng/-/global-tunnel-ng-2.7.1.tgz",
317 | "integrity": "sha512-4s+DyciWBV0eK148wqXxcmVAbFVPqtc3sEtUE/GTQfuU80rySLcMhUmHKSHI7/LDj8q0gDYI1lIhRRB7ieRAqg==",
318 | "dev": true,
319 | "optional": true,
320 | "requires": {
321 | "encodeurl": "^1.0.2",
322 | "lodash": "^4.17.10",
323 | "npm-conf": "^1.1.3",
324 | "tunnel": "^0.0.6"
325 | }
326 | },
327 | "globalthis": {
328 | "version": "1.0.1",
329 | "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.1.tgz",
330 | "integrity": "sha512-mJPRTc/P39NH/iNG4mXa9aIhNymaQikTrnspeCa2ZuJ+mH2QN/rXwtX3XwKrHqWgUQFbNZKtHM105aHzJalElw==",
331 | "dev": true,
332 | "optional": true,
333 | "requires": {
334 | "define-properties": "^1.1.3"
335 | }
336 | },
337 | "got": {
338 | "version": "9.6.0",
339 | "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",
340 | "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==",
341 | "dev": true,
342 | "requires": {
343 | "@sindresorhus/is": "^0.14.0",
344 | "@szmarczak/http-timer": "^1.1.2",
345 | "cacheable-request": "^6.0.0",
346 | "decompress-response": "^3.3.0",
347 | "duplexer3": "^0.1.4",
348 | "get-stream": "^4.1.0",
349 | "lowercase-keys": "^1.0.1",
350 | "mimic-response": "^1.0.1",
351 | "p-cancelable": "^1.0.0",
352 | "to-readable-stream": "^1.0.0",
353 | "url-parse-lax": "^3.0.0"
354 | }
355 | },
356 | "graceful-fs": {
357 | "version": "4.2.4",
358 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
359 | "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==",
360 | "dev": true
361 | },
362 | "http-cache-semantics": {
363 | "version": "4.1.0",
364 | "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",
365 | "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==",
366 | "dev": true
367 | },
368 | "inherits": {
369 | "version": "2.0.4",
370 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
371 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
372 | "dev": true
373 | },
374 | "ini": {
375 | "version": "1.3.8",
376 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
377 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
378 | "dev": true,
379 | "optional": true
380 | },
381 | "isarray": {
382 | "version": "1.0.0",
383 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
384 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
385 | "dev": true
386 | },
387 | "json-buffer": {
388 | "version": "3.0.0",
389 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
390 | "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=",
391 | "dev": true
392 | },
393 | "json-stringify-safe": {
394 | "version": "5.0.1",
395 | "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
396 | "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
397 | "dev": true,
398 | "optional": true
399 | },
400 | "jsonfile": {
401 | "version": "4.0.0",
402 | "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
403 | "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
404 | "dev": true,
405 | "requires": {
406 | "graceful-fs": "^4.1.6"
407 | }
408 | },
409 | "keyv": {
410 | "version": "3.1.0",
411 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",
412 | "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==",
413 | "dev": true,
414 | "requires": {
415 | "json-buffer": "3.0.0"
416 | }
417 | },
418 | "lodash": {
419 | "version": "4.17.20",
420 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
421 | "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
422 | "dev": true,
423 | "optional": true
424 | },
425 | "lowercase-keys": {
426 | "version": "1.0.1",
427 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
428 | "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==",
429 | "dev": true
430 | },
431 | "lru-cache": {
432 | "version": "6.0.0",
433 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
434 | "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
435 | "dev": true,
436 | "optional": true,
437 | "requires": {
438 | "yallist": "^4.0.0"
439 | }
440 | },
441 | "matcher": {
442 | "version": "3.0.0",
443 | "resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz",
444 | "integrity": "sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==",
445 | "dev": true,
446 | "optional": true,
447 | "requires": {
448 | "escape-string-regexp": "^4.0.0"
449 | }
450 | },
451 | "mimic-response": {
452 | "version": "1.0.1",
453 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
454 | "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",
455 | "dev": true
456 | },
457 | "minimist": {
458 | "version": "1.2.5",
459 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
460 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
461 | "dev": true
462 | },
463 | "mkdirp": {
464 | "version": "0.5.5",
465 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
466 | "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
467 | "dev": true,
468 | "requires": {
469 | "minimist": "^1.2.5"
470 | }
471 | },
472 | "ms": {
473 | "version": "2.1.2",
474 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
475 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
476 | "dev": true
477 | },
478 | "normalize-url": {
479 | "version": "4.5.0",
480 | "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
481 | "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==",
482 | "dev": true
483 | },
484 | "npm-conf": {
485 | "version": "1.1.3",
486 | "resolved": "https://registry.npmjs.org/npm-conf/-/npm-conf-1.1.3.tgz",
487 | "integrity": "sha512-Yic4bZHJOt9RCFbRP3GgpqhScOY4HH3V2P8yBj6CeYq118Qr+BLXqT2JvpJ00mryLESpgOxf5XlFv4ZjXxLScw==",
488 | "dev": true,
489 | "optional": true,
490 | "requires": {
491 | "config-chain": "^1.1.11",
492 | "pify": "^3.0.0"
493 | }
494 | },
495 | "object-keys": {
496 | "version": "1.1.1",
497 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
498 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
499 | "dev": true,
500 | "optional": true
501 | },
502 | "once": {
503 | "version": "1.4.0",
504 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
505 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
506 | "dev": true,
507 | "requires": {
508 | "wrappy": "1"
509 | }
510 | },
511 | "p-cancelable": {
512 | "version": "1.1.0",
513 | "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
514 | "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==",
515 | "dev": true
516 | },
517 | "pend": {
518 | "version": "1.2.0",
519 | "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
520 | "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=",
521 | "dev": true
522 | },
523 | "pify": {
524 | "version": "3.0.0",
525 | "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
526 | "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
527 | "dev": true,
528 | "optional": true
529 | },
530 | "prepend-http": {
531 | "version": "2.0.0",
532 | "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
533 | "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=",
534 | "dev": true
535 | },
536 | "process-nextick-args": {
537 | "version": "2.0.1",
538 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
539 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
540 | "dev": true
541 | },
542 | "progress": {
543 | "version": "2.0.3",
544 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
545 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
546 | "dev": true
547 | },
548 | "proto-list": {
549 | "version": "1.2.4",
550 | "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz",
551 | "integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=",
552 | "dev": true,
553 | "optional": true
554 | },
555 | "pump": {
556 | "version": "3.0.0",
557 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
558 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
559 | "dev": true,
560 | "requires": {
561 | "end-of-stream": "^1.1.0",
562 | "once": "^1.3.1"
563 | }
564 | },
565 | "readable-stream": {
566 | "version": "2.3.7",
567 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
568 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
569 | "dev": true,
570 | "requires": {
571 | "core-util-is": "~1.0.0",
572 | "inherits": "~2.0.3",
573 | "isarray": "~1.0.0",
574 | "process-nextick-args": "~2.0.0",
575 | "safe-buffer": "~5.1.1",
576 | "string_decoder": "~1.1.1",
577 | "util-deprecate": "~1.0.1"
578 | }
579 | },
580 | "responselike": {
581 | "version": "1.0.2",
582 | "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
583 | "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=",
584 | "dev": true,
585 | "requires": {
586 | "lowercase-keys": "^1.0.0"
587 | }
588 | },
589 | "roarr": {
590 | "version": "2.15.4",
591 | "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz",
592 | "integrity": "sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==",
593 | "dev": true,
594 | "optional": true,
595 | "requires": {
596 | "boolean": "^3.0.1",
597 | "detect-node": "^2.0.4",
598 | "globalthis": "^1.0.1",
599 | "json-stringify-safe": "^5.0.1",
600 | "semver-compare": "^1.0.0",
601 | "sprintf-js": "^1.1.2"
602 | }
603 | },
604 | "safe-buffer": {
605 | "version": "5.1.2",
606 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
607 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
608 | "dev": true
609 | },
610 | "sanitize-filename": {
611 | "version": "1.6.3",
612 | "resolved": "https://registry.npmjs.org/sanitize-filename/-/sanitize-filename-1.6.3.tgz",
613 | "integrity": "sha512-y/52Mcy7aw3gRm7IrcGDFx/bCk4AhRh2eI9luHOQM86nZsqwiRkkq2GekHXBBD+SmPidc8i2PqtYZl+pWJ8Oeg==",
614 | "dev": true,
615 | "requires": {
616 | "truncate-utf8-bytes": "^1.0.0"
617 | }
618 | },
619 | "semver": {
620 | "version": "7.3.4",
621 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz",
622 | "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==",
623 | "dev": true,
624 | "optional": true,
625 | "requires": {
626 | "lru-cache": "^6.0.0"
627 | }
628 | },
629 | "semver-compare": {
630 | "version": "1.0.0",
631 | "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz",
632 | "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=",
633 | "dev": true,
634 | "optional": true
635 | },
636 | "serialize-error": {
637 | "version": "7.0.1",
638 | "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-7.0.1.tgz",
639 | "integrity": "sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==",
640 | "dev": true,
641 | "optional": true,
642 | "requires": {
643 | "type-fest": "^0.13.1"
644 | }
645 | },
646 | "sprintf-js": {
647 | "version": "1.1.2",
648 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz",
649 | "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==",
650 | "dev": true,
651 | "optional": true
652 | },
653 | "string_decoder": {
654 | "version": "1.1.1",
655 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
656 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
657 | "dev": true,
658 | "requires": {
659 | "safe-buffer": "~5.1.0"
660 | }
661 | },
662 | "sumchecker": {
663 | "version": "3.0.1",
664 | "resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-3.0.1.tgz",
665 | "integrity": "sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==",
666 | "dev": true,
667 | "requires": {
668 | "debug": "^4.1.0"
669 | }
670 | },
671 | "to-readable-stream": {
672 | "version": "1.0.0",
673 | "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",
674 | "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==",
675 | "dev": true
676 | },
677 | "truncate-utf8-bytes": {
678 | "version": "1.0.2",
679 | "resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz",
680 | "integrity": "sha1-QFkjkJWS1W94pYGENLC3hInKXys=",
681 | "dev": true,
682 | "requires": {
683 | "utf8-byte-length": "^1.0.1"
684 | }
685 | },
686 | "tunnel": {
687 | "version": "0.0.6",
688 | "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
689 | "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==",
690 | "dev": true,
691 | "optional": true
692 | },
693 | "type-fest": {
694 | "version": "0.13.1",
695 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz",
696 | "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==",
697 | "dev": true,
698 | "optional": true
699 | },
700 | "typedarray": {
701 | "version": "0.0.6",
702 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
703 | "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
704 | "dev": true
705 | },
706 | "universalify": {
707 | "version": "0.1.2",
708 | "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
709 | "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",
710 | "dev": true
711 | },
712 | "url-parse-lax": {
713 | "version": "3.0.0",
714 | "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
715 | "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=",
716 | "dev": true,
717 | "requires": {
718 | "prepend-http": "^2.0.0"
719 | }
720 | },
721 | "utf8-byte-length": {
722 | "version": "1.0.4",
723 | "resolved": "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz",
724 | "integrity": "sha1-9F8VDExm7uloGGUFq5P8u4rWv2E=",
725 | "dev": true
726 | },
727 | "util-deprecate": {
728 | "version": "1.0.2",
729 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
730 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
731 | "dev": true
732 | },
733 | "wrappy": {
734 | "version": "1.0.2",
735 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
736 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
737 | "dev": true
738 | },
739 | "yallist": {
740 | "version": "4.0.0",
741 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
742 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
743 | "dev": true,
744 | "optional": true
745 | },
746 | "yauzl": {
747 | "version": "2.10.0",
748 | "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
749 | "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=",
750 | "dev": true,
751 | "requires": {
752 | "buffer-crc32": "~0.2.3",
753 | "fd-slicer": "~1.1.0"
754 | }
755 | }
756 | }
757 | }
758 |
--------------------------------------------------------------------------------
/Php Electronjs v0.5/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "php",
3 | "version": "0.1.0",
4 | "description": "Php Server in Electron",
5 | "license": "MIT",
6 | "repository": "https://github.com/MEGAMINDMK",
7 | "main": "main.js",
8 | "scripts": {
9 | "start": "electron .",
10 | "package-win": "electron-packager . --asar --overwrite --platform=win32 --icon=icon/icon.ico --prune=true --extra-resource=./extraResources/php"
11 | },
12 | "devDependencies": {
13 | "electron": "^7.2.4"
14 | },
15 | "dependencies": {
16 | "child-process": "^1.0.2"
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/Php Electronjs v0.6/README.MD:
--------------------------------------------------------------------------------
1 |
16 |
17 | # PHP-Electronjs
18 | A working php server with electronjs fully customizable & easy to use
19 |
20 | # Steps
21 | - npm i
22 | - npm start
23 | - electron-packager .
24 |
25 | # Download
26 | Clicky ! v0.6
27 |
--------------------------------------------------------------------------------
/Php Electronjs v0.6/extraResources/php/README.MD:
--------------------------------------------------------------------------------
1 |
9 |
10 | # The PHP files are missing
11 | - Re download the full php from official site
12 | - Use the xampp/php (Recomended)
--------------------------------------------------------------------------------
/Php Electronjs v0.6/extraResources/php/www/index.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Php Electronjs v0.6/icon/icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MEGAMINDMK/Php-Electronjs/ce57caecc08e2635a78537084816da8f541160dc/Php Electronjs v0.6/icon/icon.ico
--------------------------------------------------------------------------------
/Php Electronjs v0.6/index.html:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
30 |
--------------------------------------------------------------------------------
/Php Electronjs v0.6/main.js:
--------------------------------------------------------------------------------
1 | process.env ['ELECTRON_DISABLE_SECURITY_WARNINGS']='true';
2 | const { app, BrowserWindow } = require('electron')
3 | const { join, normalize } = require('path');
4 | let win
5 |
6 | function createWindow () {
7 | win = new BrowserWindow({ width: 1000, height: 700, icon: join(__dirname, 'icon/icon.ico'), webPreferences: {webviewTag: true,nodeIntegration: true, contextIsolation: false}})
8 | win.setMenu(null)
9 | win.loadFile('index.html')
10 | win.on('closed', () => {
11 | win = null;
12 | app.quit();
13 | })
14 | }
15 |
16 | app.whenReady().then(createWindow)
17 |
18 | app.on('window-all-closed', () => {
19 | if (process.platform !== 'windows') {
20 | const exec = require('child_process').exec;
21 | exec('taskkill /F /IM php.exe', (e, stdout, stderr)=> {
22 | if (e instanceof Error) {
23 | console.error(e);
24 | throw e;
25 | }
26 | console.log('stdout ', stdout);
27 | console.log('stderr ', stderr);
28 | });
29 | app.quit();
30 | }
31 | })
32 |
33 | app.on('activate', () => {
34 | if (BrowserWindow.getAllWindows().length === 0) {
35 | createWindow()
36 | }
37 | })
--------------------------------------------------------------------------------
/Php Electronjs v0.6/node_modules/README.MD:
--------------------------------------------------------------------------------
1 | # NPM I
2 | - Install all modules using npm i
3 |
--------------------------------------------------------------------------------
/Php Electronjs v0.6/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "php",
3 | "version": "1.0.0",
4 | "description": "Php Server in Electron",
5 | "license": "MIT",
6 | "repository": "https://github.com/MEGAMINDMK",
7 | "main": "main.js",
8 | "scripts": {
9 | "start": "electron .",
10 | "package-win": "electron-packager . --asar --overwrite --platform=win32 --icon=icon/icon.ico --prune=true --extra-resource=./extraResources/php"
11 | },
12 | "devDependencies": {
13 | "electron": "^12.0.0"
14 | },
15 | "dependencies": {
16 | "child-process": "^1.0.2",
17 | "electron-packager": "^15.2.0"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
15 |
16 | # Php-Electronjs
17 | A working php server with electronjs fully customizable & easy to use!
18 |
--------------------------------------------------------------------------------