PHPackages                             price2performance/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. price2performance/sandbox

AbandonedArchivedProject

price2performance/sandbox
=========================

Sandbox, default project structure for Price2Performance

02PHP

Since Sep 5Pushed 2y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Price2Performance Sandbox
=========================

[](#price2performance-sandbox)

This is a simple skeleton application for all our projects.

Requirements
------------

[](#requirements)

- Requires PHP 8.2 and Docker

Installation
------------

[](#installation)

The best way to install Sandbox is using Composer. To install in the current folder, use command:

```
composer create-project price2performance/sandbox .

```

Make directories `temp/` and `log/` writable.

Then replace all `sandbox` occurence with the name of your project. In PhpStorm, you can use `CTRL`+`SHIFT`+`R` to rename all occurences:

- `sandbox` for `project` in `composer.json`
- `Sandbox\\` for `Project\\` in `composer.json`
- `sandbox` for `project` in `.docker` folder
- `Price2Performance\Sandbox` with `Price2Performance\Project` in all files in `app/`, `tests/`, `bin/` and `config/` folders
- `Sandbox` for `Project` in the filename of `app/Model/ORM/Entity/xml/Price2Performance.Sandbox.Model.ORM.Entity.User.dcm.xml`

Use the real name of your project, not `project`.

Web Server Setup
----------------

[](#web-server-setup)

Run `.docker/up.bat` in terminal. On Linux or Mac, run each line from `.docker/up.bat` manually in Terminal, or create your own `.docker/up.sh` instead.

In case of ports conflicts, either kill the blocking application (usually Apache) OR modify `.docker/docker-composer.yml` on these lines:

```
    ports:
      - 8085:80
      - 4435:443
```

Choose appropriate ports for you.

Setting up secure connection on localhost
-----------------------------------------

[](#setting-up-secure-connection-on-localhost)

Open browser and type `https://localhost` (or `https://localhost:4435` if you modified the port settings above).

If your browser complains about unsecure connections, you have 2 options:

1. either bypass this error message and tell him to continue anyway (the exact method differs browser from browser)
2. or set out root CA certificate (located at `config/rootCA.pem`) as trusted according to this article:

Detailed instructions for Mac: , for Windows:

Running tests
-------------

[](#running-tests)

To run tests, type in the command line:

```
docker exec project vendor/bin/tester tests -C
```

Composer update on branch changing
----------------------------------

[](#composer-update-on-branch-changing)

Every time you change the git branch (e.g. from `stage2` to `master` or back again), you have to update vendor directory of composer by following command:

```
docker exec project composer update
```

PHPMyAdmin
----------

[](#phpmyadmin)

PHPMyAdmin is available at `http://localhost:8080`.

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![haltuf](https://avatars.githubusercontent.com/u/325759?v=4)](https://github.com/haltuf "haltuf (2 commits)")

### Embed Badge

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

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

PHPackages © 2026

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