Online PHP editor for testing your code. There is no isolation, do not make the web interface public!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Jordi Boggiano 53a4dc13b9 Added screenshot to the README 14 years ago
krumo Initial import 14 years ago
LICENSE Initial import 14 years ago
README.mdown Added screenshot to the README 14 years ago
index.php Bumping version number of the master branch 14 years ago
jquery-1.4.2.min.js Initial import 14 years ago
jquery.selections.js mostly cross-browser compatibility enhancements 14 years ago
loader.gif Script execution is now done via an async js request, preventing die() and exception to mess up the entire console 14 years ago
php-console.js code cleanups 14 years ago
styles.css Added a status bar with char/line display 14 years ago

README.mdown

PHP Console

A web console to try your PHP code into

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 accessible only from the local host, and very easy to setup and use.

Screenshot

PHP Console screenshot

Setup

Clone the git repo or download it as a zip/tarball, drop it somewhere in your local web document root and access it with http://localhost/path/to/php-console

Contribute

If you like this piece of software, please consider contributing back with Flattr or Pledgie:

Click here to lend your support to slippy and make a donation via pledgie.com !

Code contributions or ideas are obviously also much welcome.

Author

Jordi Boggiano - j.boggiano@seld.be
http://seld.be/ - http://twitter.com/seldaek

Changelog

  • 1.1.0
    • Script execution is now done via an async js request, preventing die() and exception to mess up the entire console
    • Added a status bar with char/line display
    • Added a toggle button to expand/collapse all krumo sub-trees at once
    • Cross-browser compatibility enhancements
    • Removing a tab (i.e. 4 spaces) on backspace now
    • Made tab character(s) configurable (see index.php)
  • 1.0.0
    • Initial Public Release

License

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