PHPackages                             mattrink/didibreakit - 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. mattrink/didibreakit

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

mattrink/didibreakit
====================

A basic smoke testing library designed for use in CI.

1.0.2(6y ago)09MITPHPCI failing

Since Aug 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/MattRink/didibreakit)[ Packagist](https://packagist.org/packages/mattrink/didibreakit)[ RSS](/packages/mattrink-didibreakit/feed)WikiDiscussions master Synced yesterday

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

didibreakit
===========

[](#didibreakit)

*A basic smoke testing library designed for use in CI*

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

[](#installation)

```
composer require mattrink/didibreakit
```

Usage
-----

[](#usage)

```
./didibreakit tests:run example.yaml
```

Options
-------

[](#options)

- `-b/--branch branchname` This is to support branch based testing. If your CI process automatically creates environemnts for your branches this argument can be used to pass the name of the branch to the configuration. The branch can then be used in the `urlPattern` option via the `%branch%` replacement.
- `-v/--verbose` Enables more in-depth logging and detail.

Configuration
-------------

[](#configuration)

Configuration is done via a YAML file that is then passed as the only required argument to the command `./vendor/didibreakit tests:run example.yaml`. You can copy the `example.yaml` for a basic configuration to start from.

Within the `options` section of the config file you can provide some default configuration used for all URLs that are checked.

- `defaultScheme` Request all URLs using HTTP or HTTPS.
- `urlPattern` The pattern to match for URLs. `%branch` is optional.
- `verifySSL` If set to false the SSL certificate for HTTPS will not be verified. Useful is using self-signed SSL certificates.
- `defaultURLs` Applies these URLs to the config for all hosts defined later.
- `timeout` The maximum request connection &amp; read timeout before failing the request.
- `failOnTimeout` If set to false timeouts will not fail the whole execution.

You can specify the hosts and per-host URLs to check via the `hosts` option in the config. You can specify multiple hosts and URLs to check. The host key will be replaced into the `%host%` placeholder in the `urlPattern`. Along with each URL you also need to specify the expected HTTP status response, if a URL responds withs a status code that does not match the expected one the script will return a non-zero status code.

### Example config

[](#example-config)

```
options:
  defaultScheme: 'https'
  urlPattern: '%branch%.%host%'
  verifySSL: false
  timeout: 5
  failOnTimeout: false
  defaultURLs:
    /: 200

hosts:
  example.com:
    scheme: 'https' # You can use scheme to override the defaultScheme above
    urls:
      /news: 200
      /i-expect-this-to-404: 404
  example2.com:
    urls:
      /deals: 200
  example3.com: # Hosts with no URLs will inherit the defaultURLs from above
  example4.com:
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

2455d ago

### Community

Maintainers

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

---

Top Contributors

[![MattRink](https://avatars.githubusercontent.com/u/646833?v=4)](https://github.com/MattRink "MattRink (8 commits)")

---

Tags

ciphp7smoke-testing

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mattrink-didibreakit/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[liuggio/fastest

Simple parallel testing execution... with some goodies for functional tests.

4825.6M26](/packages/liuggio-fastest)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)

PHPackages © 2026

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