Skip to content

alleyinteractive/wp-repl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

REPL for WordPress

An online REPL for WordPress that allows you to test and run PHP code snippets in a WordPress environment.

Screenshot of the REPL

repl.alley.dev

Features

  • Interactive PHP Code Editor: Write and test PHP code with syntax highlighting and WordPress function autocomplete
  • WordPress Playground Integration: Runs WordPress directly in your browser via WordPress Playground
  • Plugin & Theme Installation: Install WordPress plugins and themes directly from the WordPress.org repository via URL query parameters
  • Version Selection: Choose specific PHP and WordPress versions for testing
  • Multisite Support: Test code in a WordPress multisite environment
  • Code Sharing: Generate shareable URLs to share code snippets with others

Query Parameters

You can customize the WordPress environment using URL query parameters, similar to WordPress Playground's Query API:

Plugin Installation

Install plugins from the WordPress.org repository by using the plugin parameter. You can install multiple plugins by repeating the parameter:

https://repl.alley.dev/?plugin=hello-dolly
https://repl.alley.dev/?plugin=woocommerce&plugin=akismet

Theme Installation

Install themes from the WordPress.org repository using the theme parameter:

https://repl.alley.dev/?theme=twentytwentyfour
https://repl.alley.dev/?theme=twentytwentyfour&plugin=hello-dolly

Credits

This project is actively maintained by Alley Interactive. Like what you see? Come work with us.

License

The GNU General Public License (GPL) license. Please see License File for more information.

About

REPL for WordPress

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages