PHPackages                             switon/testing - 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. switon/testing

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

switon/testing
==============

Shared test bootstrap and utilities for Switon Framework packages

v1.0.0(1mo ago)07420MITPHPPHP &gt;=8.3CI passing

Since May 10Pushed 1mo agoCompare

[ Source](https://github.com/switon-php/testing)[ Packagist](https://packagist.org/packages/switon/testing)[ Docs](https://github.com/switon-php/testing)[ RSS](/packages/switon-testing/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (9)Versions (2)Used By (20)

Switon Testing Package
======================

[](#switon-testing-package)

Shared test bootstrap and utilities for Switon Framework packages.

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

[](#installation)

```
composer require --dev switon/testing
```

**Requirements:** PHP 8.3+

Quick Start
-----------

[](#quick-start)

```
use Switon\Testing\TestCase;

class UserServiceTest extends TestCase
{
    public function testRegisterCreatesUser(): void
    {
        // Arrange
        $service = $this->make(UserService::class);

        // Act
        $user = $service->register('test@example.com');

        // Assert
        $this->assertSame('test@example.com', $user->email);
    }
}
```

Docs:

License
-------

[](#license)

MIT.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance94

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

31d ago

### Community

Maintainers

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

---

Top Contributors

[![switon-php](https://avatars.githubusercontent.com/u/247358032?v=4)](https://github.com/switon-php "switon-php (15 commits)")

---

Tags

bootstrapphpunitswitontestingtestingphpunitbootstrapswiton

### Embed Badge

![Health badge](/badges/switon-testing/health.svg)

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k86.9M2.2k](/packages/symfony-symfony)[laravel/framework

The Laravel Framework.

34.7k532.1M19.2k](/packages/laravel-framework)[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[brianium/paratest

Parallel testing for PHP

2.5k129.9M905](/packages/brianium-paratest)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M395](/packages/drupal-core-recommended)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

744284.3k34](/packages/civicrm-civicrm-core)

PHPackages © 2026

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