ensostudio/php-sandbox

The sandbox to test your PHP code online

Maintainers

👁 ensostudio

Package info

github.com/ensostudio/php-sandbox

Language:SCSS

Type:project

pkg:composer/ensostudio/php-sandbox

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.3 2025-05-10 06:46 UTC

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 92c1e35a7130622c8c65fb734594d4d74a83f46b

phpwebcodesandbox

This package is auto-updated.

Last update: 2026-06-10 09:39:39 UTC


README

👁 Latest Stable Version
👁 Total Downloads

The sandbox to test your PHP code in Web browser.

  • Extended autocomplete for constants, functions and classes/interfaces
  • Helper functions to dump data and reflect functions/classes in readeable format
  • Format code in PSR-12

👁 screenshot

REQUIREMENTS

The minimum requirement by this project that your server supports PHP 7.4 with JSON extension.

The sandbox apllication base on Slim framework and requires:

The GUI bases on Bootstrap 5 and Ace editor.

INSTALLATION

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this project template using the following command:

composer create-project ensostudio/php-sandbox sandbox

Now you should be able to access the application through the following URL, assuming sandbox is the directory directly under the Web root and start build-in HTTP server:

composer run start

CUSTOMIZATION

Run Phing to re-build public assets:

composer run build

Update bootstrap.php to change Kint options or add extra functions.