PHPackages                             engelju/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. [Testing &amp; Quality](/categories/testing)
4. /
5. engelju/sandbox

ActiveLibrary[Testing &amp; Quality](/categories/testing)

engelju/sandbox
===============

Test how PHP worklflow stuff works

06[1 issues](https://github.com/engelju/sandbox/issues)PHP

Since Mar 23Pushed 8y agoCompare

[ Source](https://github.com/engelju/sandbox)[ Packagist](https://packagist.org/packages/engelju/sandbox)[ RSS](/packages/engelju-sandbox/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

helloworld
==========

[](#helloworld)

This is a sandbox repo

Stuff tested out with this repo:

- Git
- Github
- Multiple SSH Keys
- Composer
- PHPUnit
- Packagist
- Travis-ci
- Webhooks

Badges:

[![Latest Stable Version](https://camo.githubusercontent.com/93010b24f63f74793417633554cb4bbd540d52bfa6b39400f7ffe50dba789577/68747470733a2f2f706f7365722e707567782e6f72672f656e67656c6a752f636f6d706f7365725f6769746875622f762f737461626c65)](https://packagist.org/packages/engelju/composer_github)[![Latest Unstable Version](https://camo.githubusercontent.com/343ea4ecae66da7614e2ff59701c219756877595d7510427cd2bf91b7268e2ba/68747470733a2f2f706f7365722e707567782e6f72672f656e67656c6a752f636f6d706f7365725f6769746875622f762f756e737461626c65)](https://packagist.org/packages/engelju/composer_github)[![Build Status](https://camo.githubusercontent.com/3f742423d2dc4523a0c081a9f751625b0755b6ebb2c61ef128ff91609032a326/68747470733a2f2f7472617669732d63692e6f72672f656e67656c6a752f73616e64626f782e737667)](https://travis-ci.org/engelju/sandbox)[![Travis](https://camo.githubusercontent.com/01dd14d78f6ac32973777548f59a9823967ebd254b1c05de30fd89db939595fd/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f656e67656c6a752f73616e64626f782e737667)](https://travis-ci.org/engelju/sandbox)

HOWTOs
======

[](#howtos)

Initial setup
-------------

[](#initial-setup)

- Usual prerequisites installed
- cd htdocs &amp;&amp; mkdir helloworld &amp;&amp; cd helloworld

Composer
--------

[](#composer)

```
jeng@macbook:/Applications/MAMP/htdocs/helloworld $ composer init

    Welcome to the Composer config generator

    This command will guide you through creating your composer.json config.

    Package name (/) [engelju/helloworld]:

```

You can accept the default or customize it like "yourname/hello" or what you want. Complete all Composer questions like:

```
    Package name (/) [engelju/helloworld]: engelju/helloworld
    Description []: A test packages for composer and github
    Author [Junior Grossi ]: Julie Engel
    Minimum Stability []: dev

```

Define your dependencies.

```
    Would you like to define your dependencies (require) interactively [yes]? no
    Would you like to define your dev dependencies (require-dev) interactively [yes]? no

    {
        "name": "engelju/composer_github",
        "description": "A test packages for composer and github",
        "authors": [
            {
            "name": "Julie Engel",
            "email": "julie.engel@mail.com"
            }
        ],
        "minimum-stability": "dev",
        "require": {
        }
    }

    Do you confirm generation [yes]? yes

```

Then we have to make a few changes to your generated composer.json so that it will look like this:

```
{
    "name": "engelju/composer_github",
    "description": "A test packages for composer and github",
    "authors": [
        {
        "name": "Julie Engel",
        "email": "julie.engel@mail.com"
        }
    ],
    "license": "GPL",
    "autoload": {
        "psr-0": {
            "HelloWorld": "src/"
        }
    },
    "require": {
        "php": ">=5.3.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^4.8@dev"
    },
    "minimum-stability": "dev"
}
```

What we did here is add information about PHP 5.3 as minimum requirements (require section), as well as require phpunit in the dev section, and tell Composer to "autoload" (using PSR-0) all files with "HelloWorld" namespace that are inside "src" dir.

Then you can do a `composer install` and it will create a vendor-directory and install the components there.

File Structure / Code
---------------------

[](#file-structure--code)

- mkdir src &amp;&amp; mkdir tests

```
$ tree -L 3
.
├── .gitignore                      --> git ignore file
├── .travis.yml                     --> travis-ci config file
├── LICENSE                         --> first version auto-generated by github
├── README.md                       --> first version auto-generated by github
├── composer.json                   --> composer config file
├── composer.lock                   --> locks the current versions of the dependencies
├── src/                            --> directory where the actual code lies
│   └── HelloWorld/                 --> yay, namespacing
│       └── SayHello.php            --> actual class
├── tests/                          --> directory where our tests lie
│   ├── HelloWorld/                 --> mirroring the code dir sturcture
│   │   └── SayHelloTest.php        --> one test for each class
│   ├── bootstrap.php               --> phpunit bootstrap
│   └── phpunit.xml                 --> phpunit config file
└── vendor/                         --> dependencies, installed with `composer install`
    ├── autoload.php
    ├── bin/
    │   └── phpunit -> ../phpunit/phpunit/phpunit
    ├── composer/
    ├── doctrine/
    ├── phpdocumentor/
    ├── phpspec/
    ├── phpunit/
    ├── sebastian/
    └── symfony/

```

PHPUnit / Testing
-----------------

[](#phpunit--testing)

Packagist
---------

[](#packagist)

Git
---

[](#git)

- Branches
- Committing
- Remotes

Multiple SSH Keys
-----------------

[](#multiple-ssh-keys)

Helpful docs:

-
-
-
-

Github
------

[](#github)

- Issues
- Pull Requests
    - Working on your own stuff
    - Contributing on other projects

Webhooks
--------

[](#webhooks)

Travis-CI
---------

[](#travis-ci)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2188152?v=4)[Julie Engel](/maintainers/engelju)[@engelju](https://github.com/engelju)

---

Top Contributors

[![engelju](https://avatars.githubusercontent.com/u/2188152?v=4)](https://github.com/engelju "engelju (18 commits)")

### Embed Badge

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

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

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14228.7M342](/packages/dms-phpunit-arraysubset-asserts)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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