||8 years ago|
|ace||8 years ago|
|.gitignore||9 years ago|
|LICENSE||8 years ago|
|Makefile||8 years ago|
|README.md||8 years ago|
|config.php.dist||10 years ago|
|index.php||8 years ago|
|jquery-1.9.1.min.js||11 years ago|
|loader.gif||13 years ago|
|php-console.js||8 years ago|
|styles.css||8 years ago|
~ Improved & slimmed down fork of PHP Console ~
A web editor to try your PHP code.
Creating a test file or using php's interactive mode can be a bit cumbersome to try random php snippets. This allows you to run small bits of code easily right from your browser.
It is secure since it's accessible only from localhost, and very easy to setup and use.
Tip: Press Ctrl+Enter to evaluate the code
About this fork
This is a fork of the original code by Jordi Boggiano.
- Changed colors to look more like Sublime Text, with Monokai theme
- Slightly improved layout
- Removed info text at the bottom of the screen
- Output is now plain text, not HTML (more useful for debugging)
- Removed "krumo" (some kind of PHP library)
- Removed "clippy" (flash applet for clipboard support)
- Removed the "Melody" plugin and composer files
- Updated ACE to 1.2.0 with a patch to support the trait keyword
- Hidden loader animation (was broken)
Clone the git repo and place it somewhere in your webroot.
You can also use the internal PHP server - run:
$ php -S localhost:1337
And go to
You can also use the
Makefile - run
make and the server will start.
Default settings are available in
config.php.dist, if you would like to modify
them, you can copy the file to
config.php and edit settings.
Code contributions or ideas are obviously much welcome. Send pull requests or issues on github.
PHP Console is licensed under the New BSD License, which means you can do pretty much anything you want with it.
New BSD License - see the LICENSE file for details
PHP Console bundles the following libraries, and the work of their respective authors is very much appreciated: