Skip to content

Commit 81e349e

Browse files
committed
+ Initial Commit
0 parents  commit 81e349e

File tree

729 files changed

+133915
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

729 files changed

+133915
-0
lines changed

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# EditorConfig: https://EditorConfig.org
2+
# Notepad++ Plugin: https://github.com/editorconfig/editorconfig-notepad-plus-plus
3+
# Visual Studio Code Plugin: https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig
4+
5+
root = true
6+
7+
[*.{css,html,js,json,less,php,scss,xml}]
8+
charset = utf-8
9+
indent_style = space
10+
indent_size = 2
11+
trim_trailing_whitespace = true
12+
13+
[*.{md}]
14+
charset = utf-8
15+
indent_style = space
16+
indent_size = 2
17+
trim_trailing_whitespace = true
18+
insert_final_newline = true

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#####################
2+
# Application Files #
3+
#####################
4+
5+
releases/*
6+
win/debug.log
7+
win/webcache/*
8+
9+
######################
10+
# OS generated files #
11+
######################
12+
13+
.DS_Store
14+
.DS_Store?
15+
._.DS_Store
16+
._*
17+
.Spotlight-V100
18+
.Trashes
19+
ehthumbs.db
20+
Thumbs.db
21+
error_log
22+
.ftpquota

Inno Setup Script.iss

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
; Script generated by the Inno Setup Script Wizard.
2+
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3+
4+
#define MyAppName "PHP Fiddle"
5+
#define MyAppVersion "8.2"
6+
#define MyAppPublisher "TiM International"
7+
#define MyAppURL "https://www.github.com/timint/phpfiddle/"
8+
#define MyAppExeName "phpfiddle.exe"
9+
10+
[Setup]
11+
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
12+
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
13+
AppId={{B1477C10-2D7A-457B-A901-2F37A5F81860}
14+
AppName={#MyAppName}
15+
AppVersion={#MyAppVersion}
16+
;AppVerName={#MyAppName} {#MyAppVersion}
17+
AppPublisher={#MyAppPublisher}
18+
AppPublisherURL={#MyAppURL}
19+
AppSupportURL={#MyAppURL}
20+
AppUpdatesURL={#MyAppURL}
21+
DefaultDirName={autopf}\{#MyAppName}
22+
DisableProgramGroupPage=yes
23+
; Remove the following line to run in administrative install mode (install for all users.)
24+
PrivilegesRequired=lowest
25+
OutputDir=releases
26+
OutputBaseFilename=phpfiddle-8.2.2-setup
27+
Compression=lzma
28+
SolidCompression=yes
29+
WizardStyle=modern
30+
31+
[Languages]
32+
Name: "english"; MessagesFile: "compiler:Default.isl"
33+
Name: "armenian"; MessagesFile: "compiler:Languages\Armenian.isl"
34+
Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
35+
Name: "bulgarian"; MessagesFile: "compiler:Languages\Bulgarian.isl"
36+
Name: "catalan"; MessagesFile: "compiler:Languages\Catalan.isl"
37+
Name: "corsican"; MessagesFile: "compiler:Languages\Corsican.isl"
38+
Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"
39+
Name: "danish"; MessagesFile: "compiler:Languages\Danish.isl"
40+
Name: "dutch"; MessagesFile: "compiler:Languages\Dutch.isl"
41+
Name: "finnish"; MessagesFile: "compiler:Languages\Finnish.isl"
42+
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
43+
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
44+
Name: "hebrew"; MessagesFile: "compiler:Languages\Hebrew.isl"
45+
Name: "icelandic"; MessagesFile: "compiler:Languages\Icelandic.isl"
46+
Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl"
47+
Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl"
48+
Name: "norwegian"; MessagesFile: "compiler:Languages\Norwegian.isl"
49+
Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl"
50+
Name: "portuguese"; MessagesFile: "compiler:Languages\Portuguese.isl"
51+
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
52+
Name: "slovak"; MessagesFile: "compiler:Languages\Slovak.isl"
53+
Name: "slovenian"; MessagesFile: "compiler:Languages\Slovenian.isl"
54+
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
55+
Name: "turkish"; MessagesFile: "compiler:Languages\Turkish.isl"
56+
Name: "ukrainian"; MessagesFile: "compiler:Languages\Ukrainian.isl"
57+
58+
[Tasks]
59+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
60+
61+
[Files]
62+
Source: "win\locales\*"; DestDir: "{app}\locales"; Flags: ignoreversion recursesubdirs createallsubdirs
63+
Source: "app\*"; DestDir: "{app}\app"; Flags: ignoreversion recursesubdirs createallsubdirs
64+
Source: "win\php\*"; DestDir: "{app}\php"; Flags: ignoreversion recursesubdirs createallsubdirs
65+
Source: "win\cef.pak"; DestDir: "{app}"; Flags: ignoreversion
66+
Source: "win\cef_100_percent.pak"; DestDir: "{app}"; Flags: ignoreversion
67+
Source: "win\cef_200_percent.pak"; DestDir: "{app}"; Flags: ignoreversion
68+
Source: "win\cef_extensions.pak"; DestDir: "{app}"; Flags: ignoreversion
69+
Source: "win\chrome_elf.dll"; DestDir: "{app}"; Flags: ignoreversion
70+
Source: "win\d3dcompiler_43.dll"; DestDir: "{app}"; Flags: ignoreversion
71+
Source: "win\d3dcompiler_47.dll"; DestDir: "{app}"; Flags: ignoreversion
72+
Source: "win\devtools_resources.pak"; DestDir: "{app}"; Flags: ignoreversion
73+
Source: "win\icudtl.dat"; DestDir: "{app}"; Flags: ignoreversion
74+
Source: "win\libcef.dll"; DestDir: "{app}"; Flags: ignoreversion
75+
Source: "win\libEGL.dll"; DestDir: "{app}"; Flags: ignoreversion
76+
Source: "win\libGLESv2.dll"; DestDir: "{app}"; Flags: ignoreversion
77+
Source: "win\license.txt"; DestDir: "{app}"; Flags: ignoreversion
78+
Source: "win\natives_blob.bin"; DestDir: "{app}"; Flags: ignoreversion
79+
Source: "win\phpfiddle.exe"; DestDir: "{app}"; Flags: ignoreversion
80+
Source: "win\settings-production.json"; DestDir: "{app}"; DestName: "settings.json"; Flags: ignoreversion
81+
Source: "win\snapshot_blob.bin"; DestDir: "{app}"; Flags: ignoreversion
82+
Source: "win\widevinecdmadapter.dll"; DestDir: "{app}"; Flags: ignoreversion
83+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
84+
85+
[Icons]
86+
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
87+
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
88+
89+
[Run]
90+
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
91+

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# PHP Fiddle for Windows
2+
3+
PHP Fiddle is a Windows desktop application that allows you to execute PHP code on the fly. Excellent for testing, learning, and experimenting without having to install a web server or IDE environment. Suitable for both beginners and professionals of all ages looking for a fast way to execute code. Created by swedish PHP developer T. Almroth.
4+
5+
**[Download Now](https://github.com/timint/phpfiddle/releases)**
6+
7+
## Questions & Answers
8+
9+
**Where is PHP Fiddle installed?**
10+
-- PHP Fiddle is by default installed in %LocalAppData%\PHP Fiddle.
11+
12+
**Can I enable more PHP extensions or edit the PHP.ini configuration?**
13+
-- Yes, make any changes to %LocalAppData%\PHP Fiddle\php\php.ini and restart the application.
14+
15+
**Can I update the PHP version?**
16+
-- Yes, you can grab a new release of PHP at the [PHP for Windows](https://windows.php.net/download/) website and replace the folder at %LocalAppData%\PHP Fiddle\php\.
17+
18+
## Credits
19+
20+
The project is based on the innovative technology ["PHP Desktop" by Czarek Tomczak](https://github.com/cztomczak/phpdesktop) that comes wrapped with [PHP for Windows](https://windows.php.net/download/) and [Chrome Emdedded Framework (CEF)](https://github.com/chromiumembedded/cef). For distributing the software there is a prefined [Inno Setup](https://jrsoftware.org/isinfo.php) script that can be used for compiling new installation packages.
21+
22+
The PHP logotype is property of [The PHP Group](https://www.php.net/credits.php).
23+
24+
The javascript source code editor bundled with this software is [CodeMirror](https://codemirror.net/).

app/assets/codemirror/.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8

app/assets/codemirror/.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
*.txt text eol=lf
2+
*.js text eol=lf
3+
*.html text eol=lf
4+
*.md text eol=lf
5+
*.json text eol=lf
6+
*.yml text eol=lf
7+
*.css text eol=lf
8+
*.svg text eol=lf

app/assets/codemirror/.npmignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/node_modules
2+
/demo
3+
/doc
4+
/test
5+
/test*.html
6+
/index.html
7+
/mode/*/*test.js
8+
/mode/*/*.html
9+
/mode/index.html
10+
.*
11+
/bin/authors.sh
12+
/bin/lint
13+
/bin/release
14+
/bin/upload-release.js

0 commit comments

Comments
 (0)