PHPackages                             ensostudio/php-sandbox - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ensostudio/php-sandbox

ActiveProject[Utility &amp; Helpers](/categories/utility)

ensostudio/php-sandbox
======================

The sandbox to test your PHP code online

v1.0.3(1y ago)03MITSCSSPHP &gt;=7.4.0

Since Aug 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ensostudio/php-sandbox)[ Packagist](https://packagist.org/packages/ensostudio/php-sandbox)[ Docs](https://github.com/ensostudio/php-sandbox)[ RSS](/packages/ensostudio-php-sandbox/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (17)Versions (4)Used By (0)

PHP Sandbox
-----------

[](#php-sandbox)

[![Latest Stable Version](https://camo.githubusercontent.com/8fdbffe38b2341e8d32d2d3e1f0386748ffd350542cd5d0f99e6ba4fc606bcea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656e736f73747564696f2f7068702d73616e64626f782e737667)](https://packagist.org/packages/ensostudio/php-sandbox)[![Total Downloads](https://camo.githubusercontent.com/2be204e2f383faccc247360b10399b9f1e60d3f42ae21f9921ffe7546fc7b4ed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656e736f73747564696f2f7068702d73616e64626f782e737667)](https://packagist.org/packages/ensostudio/php-sandbox)

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](https://www.php-fig.org/psr/psr-12/)

[![screenshot](https://user-images.githubusercontent.com/3521094/186710160-e55c5fc6-3a9b-40ac-a952-d421c95de992.png)](https://user-images.githubusercontent.com/3521094/186710160-e55c5fc6-3a9b-40ac-a952-d421c95de992.png)

REQUIREMENTS
------------

[](#requirements)

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

The sandbox apllication base on [Slim framework](https://www.slimframework.com) and requires:

- [Symfony PHP polyfills](https://github.com/symfony/polyfill) to write modern code
- [Kint](https://kint-php.github.io/kint/) to dump variables
- [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) to format code style

The GUI bases on [Bootstrap 5](https://getbootstrap.com/docs/5.1/) and [Ace editor](https://ace.c9.io).

INSTALLATION
------------

[](#installation)

If you do not have Composer, you may install it by following the instructions at [getcomposer.org](https://getcomposer.org/doc/00-intro.md#introduction).

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
-------------

[](#customization)

Run [Phing](https://www.phing.info) to re-build public assets:

```
composer run build
```

Update [bootstrap.php](src/bootstrap.php) to change Kint options or add extra functions.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance49

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~494 days

Total

3

Last Release

373d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cc2a332d2cf8cd31b36bf1a8a16d76f1f6cca2e17a0b953072ddbc84731d66c0?d=identicon)[ensostudio](/maintainers/ensostudio)

---

Top Contributors

[![WinterSilence](https://avatars.githubusercontent.com/u/3521094?v=4)](https://github.com/WinterSilence "WinterSilence (15 commits)")

---

Tags

phpsandboxwebphpwebcodesandbox

### Embed Badge

![Health badge](/badges/ensostudio-php-sandbox/health.svg)

```
[![Health](https://phpackages.com/badges/ensostudio-php-sandbox/health.svg)](https://phpackages.com/packages/ensostudio-php-sandbox)
```

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[rubix/ml

A high-level machine learning and deep learning library for the PHP language.

2.2k1.4M28](/packages/rubix-ml)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
