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.
php-sandbox/README.mdown

74 lines
2.0 KiB

15 years ago
PHP Console
===========
10 years ago
**This is a slimmed-down fork modified to look like Sublime Text.**
A web console to try your PHP code.
15 years ago
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.
15 years ago
10 years ago
It is secure since it's accessible only from localhost, and very easy to
setup and use.
15 years ago
Screenshot
----------
10 years ago
![screenshot](https://dl.dropboxusercontent.com/u/64454818/PERMANENT/php-sandbox.png)
Installation
------------
15 years ago
10 years ago
Clone the git repo and run `composer install`, and place somewhere it in your webroot.
10 years ago
You can also use the internal PHP server - just run:
$ php -S localhost:1337
And go to `http://localhost:1337`
10 years ago
Alternatively, use the `Makefile` - run `make` and the server will start.
Configuration
-------------
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.
14 years ago
Contributing
------------
15 years ago
14 years ago
Code contributions or ideas are obviously much welcome. Send pull requests or issues on github.
15 years ago
10 years ago
Authors
-------
Project originally by:
Jordi Boggiano - [j.boggiano@seld.be](mailto:j.boggiano@seld.be)
[seld.be](http://seld.be/) - [@seldaek](http://twitter.com/seldaek)
[github.com/Seldaek/php-console](https://github.com/Seldaek/php-console)
Modified by:
Ondřej Hruška - [ondra@ondrovo.com](mailto:ondra@ondrovo.com)
[www.ondrovo.com](http://www.ondrovo.com) - [@MightyPork](http://twitter.com/MightyPork)
[github.com/MightyPork/php-console](https://github.com/MightyPork/php-console)
15 years ago
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
Acknowledgements
----------------
14 years ago
PHP Console bundles the following libraries, and the work of their respective authors is very much appreciated:
14 years ago
- [jQuery](http://jquery.com) licensed under the MIT License
14 years ago
- [ACE](http://ace.ajax.org/) licensed under the MPL/LGPL/GPL Licenses