Go to file
Brian Adams e24f525e0f Update screenshot 2014-06-24 16:35:24 -05:00
css Add php.net lookup 2014-06-24 16:32:37 -05:00
fonts Rename fonts directory because FontAwesome decided to 2014-02-11 15:05:42 -06:00
img Update screenshot 2014-06-24 16:35:24 -05:00
js Add php.net lookup 2014-06-24 16:32:37 -05:00
LICENSE Initial Commit 2012-06-29 22:38:22 -05:00
README.md Add php.net lookup 2014-06-24 16:32:37 -05:00
favicon.ico Change the theme back to dark, new buttons, add favicon, style xdebug messages 2012-11-01 22:29:31 -05:00
index.php Add php.net lookup 2014-06-24 16:32:37 -05:00
php_search_index.json Add php.net lookup 2014-06-24 16:32:37 -05:00
proxy.php Set User-Agent to fix gist imports 2013-06-26 12:00:59 -05:00

README.md

Run PHP Code

Download Run PHP Code

This script gives you the ability to quickly test snippets of PHP code locally. A local apache server is required.

  • Create a folder called php or similar in your www folder.
  • Extract the Run PHP Code files into it.
  • Bookmark the URL for easy access.
  • Bonus points for cloning the repository instead and pulling once in a while.

This application is meant to be run locally and should not be made publicly accessible.

screenshot

Features

  • Ace code editor
  • Import gists from GitHub
  • Import pastes from PasteBin and Pastie
  • Run code in the same window or a separate window

Tips

  • Pressing Ctrl-Enter will run your code.
  • Ace supports multiple cursors, just hold ctrl and click where you want your cursors.
  • This app comes with Font Awesome, so you can use the icons in your code. Simply include the css file: <link rel="stylesheet" href="css/font-awesome.min.css">

Run PHP Code utilizes the following projects:


Ace
Copyright (c) 2010, Ajax.org B.V.
Licensed under the BSD License

Font Awesome
Font Awesome by Dave Gandy
Code Licensed under the MIT License
Fonts Licensed under the SIL OFL 1.1 License

Knockout
Copyright (c) Steven Sanderson, the Knockout.js team, and other contributors
Licensed under the MIT License

jQuery
Copyright 2014 jQuery Foundation and other contributors
Licensed under the MIT License