PHPackages                             uuf6429/wait4services - 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. uuf6429/wait4services

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

uuf6429/wait4services
=====================

Small tool that waits until services are online.

0.0.2(8y ago)012MITPHPPHP &gt;=5.6

Since Feb 3Pushed 7y ago1 watchersCompare

[ Source](https://github.com/uuf6429/wait4services)[ Packagist](https://packagist.org/packages/uuf6429/wait4services)[ RSS](/packages/uuf6429-wait4services/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

wait4services
=============

[](#wait4services)

[![build status](https://camo.githubusercontent.com/b9d7b66494d637f078a89274599b3d42363008727311096eb9d6ccdbef3a2ab7/68747470733a2f2f7472617669732d63692e6f72672f757566363432392f776169743473657276696365732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/uuf6429/wait4services)[![coverage report](https://camo.githubusercontent.com/ae4526e52bb11f3685b5c522e96b43b2e312c0c4522b0c294ed2db7b5c936bd7/68747470733a2f2f636f6465636f762e696f2f67682f757566363432392f776169743473657276696365732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/uuf6429/wait4services/branch/master/)[![Minimum PHP Version](https://camo.githubusercontent.com/fd29e6d26d9d08b5f15bdecc7933425936f2d67bf5b03ffa8c572709955b787f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f757566363432392f776169743473657276696365732e737667)](https://php.net/)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://github.com/uuf6429/wait4services/blob/master/LICENSE)[![Packagist](https://camo.githubusercontent.com/f74224d3f65534e5591646045a7959ff92da1566d9c7ace8da8b61eecf09b2e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f757566363432392f776169743473657276696365732e737667)](https://packagist.org/packages/uuf6429/wait4services)

A simple tool for waiting until all required services are up and running.

[![screenshot](https://camo.githubusercontent.com/5aaceb337f01963590e01f7cd5ab8878382665104593a144439bf70ac217a329/68747470733a2f2f692e696d6775722e636f6d2f473841516b30322e706e67)](https://camo.githubusercontent.com/5aaceb337f01963590e01f7cd5ab8878382665104593a144439bf70ac217a329/68747470733a2f2f692e696d6775722e636f6d2f473841516b30322e706e67)

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

[](#installation)

Add via composer, either locally or globally (depending on your needs):

```
composer require uuf6429/wait4services
```

*(to install globally just add "global" before "require")*

Usage
-----

[](#usage)

Let's say you want to run some tests on a system bootstrapped from Docker, this tool could be used like so:

```
# start docker services
docker-compose up -d

# wait for the services
vendor/bin/wait4services \
  "pdo-mysql://dbuser:dbpass@docker/somedb" \
  "http://docker/wp-admin"

# run your tests
vendor/bin/phpunit
```

Extending
---------

[](#extending)

It's a bit difficult to extend due to autoloading, however it can be achieved with the following steps:

1. Create your handler extending `uuf6429\WFS\Handler\Handler`
2. At the end of that file (or in some other file) use the following code:

    ```
    if (uuf6429\WFS\HandlerManager::class) {
        uuf6429\WFS\HandlerManager::getInstance()
            ->register(new YourCustomHandler());
    }
    ```
3. In your `composer.json` make sure to put the previous file in `autoload\files` section:

    ```
    "autoload": {
        "files": ["path/to/your/handler.php"]
    }
    ```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

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 ~4 days

Total

2

Last Release

3013d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/450767af6ef832ad662c169bf718d6d25c025c08b2d91b810959d190bccebba1?d=identicon)[uuf6429](/maintainers/uuf6429)

---

Top Contributors

[![uuf6429](https://avatars.githubusercontent.com/u/230049?v=4)](https://github.com/uuf6429 "uuf6429 (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/uuf6429-wait4services/health.svg)

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

###  Alternatives

[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[phel-lang/phel-lang

Phel is a functional programming language that compiles to PHP

4743.5k10](/packages/phel-lang-phel-lang)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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