Lightweight PHP-based code testing editor. It allows users to write, execute, and debug PHP code snippets directly in the browser. This project is designed for developers who want a quick and simple way to test PHP code without setting up a full development environment.
- CodeMirror Integration: Provides a modern code editor with syntax highlighting for PHP.
- Live Execution: Run PHP code snippets and view the output instantly.
- Customizable Themes: Uses
@fontsource/open-sansandmaterial-symbolsfor a clean and professional UI. - Lightweight and Fast: Minimal dependencies for quick setup and usage.
-
Clone the repository:
git clone https://github.com/varienos/simple-php-test-editor.git
-
Navigate to the project directory:
cd simple-php-test-editor -
Install dependencies:
npm install
-
Ensure you have a PHP server running. You can use the built-in PHP server:
php -S localhost:8000
-
Open your browser and navigate to:
http://localhost:8000
- Write your PHP code in the editor.
- Click the
RUNbutton to execute the code. - View the output in the results pane.
Contributions are welcome! If you have ideas for improvements or new features, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Happy coding! 🚀
