PHPackages                             eddiejibson/sido - 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. eddiejibson/sido

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

eddiejibson/sido
================

Simplistic PHP unit testing library

333PHP

Since Jun 1Pushed 6y ago1 watchersCompare

[ Source](https://github.com/eddiejibson/sido)[ Packagist](https://packagist.org/packages/eddiejibson/sido)[ RSS](/packages/eddiejibson-sido/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

sido
====

[](#sido)

*sido (시도)* meaning : Try/attempt

A very simplistic PHP unit testing library.

If you're finding this library of use, please consider starring it on the [GitHub repository](https://github.com/eddiejibson/sido). It makes our night sky better. ⭐

[Read the documentation here](https://sido.jibson.me)

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

[](#installation)

```
composer require --dev eddiejibson/sido:dev-master
```

Why sido?
---------

[](#why-sido)

- Simple and light
- Provides test report generation in the junit-like style - suitable for immediate use on platforms such as CircleCI (no need to format it specially yourself)
- 0 composer dependencies
- Few assertions (easy to get used to) which still provides everything you need
- Provides a [Discord](https://discordapp.com) notification utility via a webhook (notify you and your team easily on completion of a test)

Basic example
-------------

[](#basic-example)

```
require "/vendor/autoload.php"; //Require composer's autoload

//Custom options can be set. All are Optional
$options = [
    "report" => dirname(__FILE__) . "/reports/" . "report.xml", //Report location. Set to false to disable generation fully.
    //On test completion, webhooks can be run. You can set some here.
    "discord" => [ //Discord webhook settings. If not set, will default to false (not used)
        "webhook" => "https://discordapp.com/api/webhooks/id/token", //Your Discord webhook URL.
        //This can be created by editing the Discord channel and navigating to the 'webhooks' section
        "name" => "Eddie's test runner" //The name of the bot. This is Optional
    ]
];

//Intialize the Sido class and pass the options defined into it.
//The options array is not required and you may pass in nothing.
$sido = new \eddiejibson\Sido($options);

//Set the test you're currently running
$sido->setTest("Array test");

//Test array we will be using
$array = ["hello" => true];

//Add testcases to the test
$sido->should(is_array($array), "Be an array");
$sido->should(count($array) > 0, "Have a length greater than 0");

//Add another test
$sido->setTest("Random test");

//Add a testcase to this test
$sido->should((1 == 1), "1 should equal 1");

//And that's pretty much it...
```

[Example of how to integrate Sido with CircleCI for automated testing](https://github.com/eddiejibson/sido-test)

Documentation
-------------

[](#documentation)

[The full documentation can be viewed here](https://sido.jibson.me).

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 98.5% 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/9403d60fa6aae7372b959e074158ff95c930c8dd20a72529fac60f6415746c82?d=identicon)[eddiejibson](/maintainers/eddiejibson)

---

Top Contributors

[![eddiejibson](https://avatars.githubusercontent.com/u/24758822?v=4)](https://github.com/eddiejibson "eddiejibson (64 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (1 commits)")

---

Tags

frameworkphptestingunitunit-testingunit-testing-framework

### Embed Badge

![Health badge](/badges/eddiejibson-sido/health.svg)

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

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

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