ファイルへ移動
Brian Adams 921cd99ff0
Update README.md
2023-09-09 11:24:57 -05:00
css Vue3 rewrite 2022-08-18 15:53:02 -05:00
img Vue3 rewrite 2022-08-18 15:53:02 -05:00
js Show error when using open/save in insecure context 2023-01-23 16:31:05 -06:00
lib Vue3 rewrite 2022-08-18 15:53:02 -05:00
LICENSE Update LICENSE 2022-08-18 16:06:04 -05:00
README.md Update README.md 2023-09-09 11:24:57 -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 Vue3 rewrite 2022-08-18 15:53:02 -05:00
php-search-index.json Vue3 rewrite 2022-08-18 15:53:02 -05:00
proxy.php Don't allow double dot in proxy url 2022-08-21 20:06:59 -05:00
run.php Vue3 rewrite 2022-08-18 15:53:02 -05:00

README.md

Run PHP Code

Download Run PHP Code

or

Try the In-Browser WebAssembly Version

This script gives you the ability to quickly test snippets of PHP code locally. A local web 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.
  • Or clone the repository instead and do a git pull every once in a while.
  • If you get a blank screen you are probably not accessing Run PHP Code from 127.0.0.1. This is a security feature. Add your IP address to line 13 of run.php.

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
  • PHP search for functions, classes, variables, etc.
  • Load/Save files to disk
  • Themes from the Ace editor

Tips

  • Pressing Ctrl-Enter will run your code.
  • Ace supports multiple cursors, just hold ctrl and click where you want your cursors.

Run PHP Code utilizes the following projects:


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

Vue.js
Copyright (c) 2018-present, Yuxi (Evan) You Licensed under the MIT License

Pinia
Copyright (c) 2019-present Eduardo San Martin Morote Licensed under the MIT License

Axios
Copyright (c) 2014-present Matt Zabriskie & Collaborators Licensed under the MIT License