PHPackages                             apility/test-utilities - 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. apility/test-utilities

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

apility/test-utilities
======================

v0.0.13(4y ago)0272MITPHP

Since Nov 1Pushed 4y agoCompare

[ Source](https://github.com/apility/test-utiltities)[ Packagist](https://packagist.org/packages/apility/test-utilities)[ RSS](/packages/apility-test-utilities/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (3)Versions (14)Used By (2)

Laravel mock tool
=================

[](#laravel-mock-tool)

This is a simple utility library for bootstrapping a minimal Laravel like container.

This can be used to test your Laravel packages without bootstrapping a full Laravel instance. You just specify upfront what config and service providers to load, and this library takes care of the rest.

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

[](#installation)

```
composer require apility/test-utilities
```

Example
-------

[](#example)

```
use Apility\Testing\Laravel;

$app = Laravel::createApplication()
    ->withRoot(__DIR__)
    ->withConfig([
        'cache' => [
            'default' => 'file',
            'stores' => [
                'file' => [
                    'driver' => 'file',
                    'path' => __DIR__ . '/cache',
                ],
            ],
        ],
    ])
    ->withFrameworkProvider(Illuminate\Cache\CacheServiceProvider::class)
    ->withProvider(MyPlugin\Providers\MyPluginServiceProvider::class)
    ->boot();
```

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

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

Every ~0 days

Total

13

Last Release

1745d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14291825?v=4)[Thomas Alrek](/maintainers/thomas-alrek)[@thomas-alrek](https://github.com/thomas-alrek)

---

Top Contributors

[![thomas-alrek](https://avatars.githubusercontent.com/u/14291825?v=4)](https://github.com/thomas-alrek "thomas-alrek (17 commits)")

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/apility-test-utilities/health.svg)

```
[![Health](https://phpackages.com/badges/apility-test-utilities/health.svg)](https://phpackages.com/packages/apility-test-utilities)
```

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k43.6M45.7k](/packages/orchestra-testbench)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3622.8k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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