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 3w ago

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 26% 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

1700d 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.2k42.5M40.7k](/packages/orchestra-testbench)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[guanguans/laravel-soar

SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。

2248.4k](/packages/guanguans-laravel-soar)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)

PHPackages © 2026

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