PHP Playground

Adam Zieliński Avatar

Posted by

on

Check out https://playground.wordpress.net/php-playground.html/

It’s a PHP code editor where you can quickly test PHP code snippets. You can use WordPress functions, quickly change PHP and WP versions, and share the link to your code+WP+PHP setup. I’ve built it because I wanted something graphical instead of using php -a all the time:

It’s built with WordPress Playground so everything runs in your browser. You don’t have to worry about hogging the server with computations. All the usual Playground features work, so you get network access, popular PHP extensions, and quick restart by refreshing the page.

Go ahead and try it out!

Right now I’m experimenting with adding a CLI and a file browser to enable installing composer packages and playing with more complex setups and even Laravel or Symfony apps.

Leave a Reply

Discover more from Adam's Perspective

Subscribe now to keep reading and get access to the full archive.

Continue reading