PHPackages                             asheliahut/mock-laravel-app - 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. asheliahut/mock-laravel-app

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

asheliahut/mock-laravel-app
===========================

A mock laravel app to inject into laravel components outside of laravel.

1.0.0(8y ago)04mitPHPPHP &gt;=7.1

Since Oct 12Pushed 6y ago2 watchersCompare

[ Source](https://github.com/asheliahut/mock-laravel-app)[ Packagist](https://packagist.org/packages/asheliahut/mock-laravel-app)[ Docs](https://github.com/asheliahut/mock-laravel-app)[ RSS](/packages/asheliahut-mock-laravel-app/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Mock Laravel App
================

[](#mock-laravel-app)

Have you ever wanted to use updated 5.6+ laravel components in your Slim or other php framework applications? Now you can just inject this mock container in and you will be able to do everything you want.

```
$container['queue'] = static function (ContainerInterface $c): Queue {
    $queue = new Queue();

    // Library is broken - cast some magic to get redis to work
    if ('redis' === $c['settings']['queue']['driver']) {
        $connector = static function () use ($c) {
            $app = new \Asheliahut\MockLaravelApp();
            $redisManager = new Redis($app,'predis', [
                'cluster' => false,
                'default' => $c['settings']['queue'],
            ]);

            return new RedisConnector($redisManager);
        };

        $queue->getQueueManager()->addConnector('redis', $connector);
    }

    $queue->addConnection($c['settings']['queue']);
    $queue->setAsGlobal();

    return $queue;
};

```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

3183d ago

### Community

Maintainers

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

---

Top Contributors

[![asheliahut](https://avatars.githubusercontent.com/u/945619?v=4)](https://github.com/asheliahut "asheliahut (1 commits)")

---

Tags

apilaravelmockslim

### Embed Badge

![Health badge](/badges/asheliahut-mock-laravel-app/health.svg)

```
[![Health](https://phpackages.com/badges/asheliahut-mock-laravel-app/health.svg)](https://phpackages.com/packages/asheliahut-mock-laravel-app)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k51.0M7.7k](/packages/larastan-larastan)[worksome/request-factories

Test Form Requests in Laravel without all of the boilerplate.

6231.9M6](/packages/worksome-request-factories)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[api-platform/laravel

API Platform support for Laravel

59156.3k11](/packages/api-platform-laravel)[calebdw/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

15104.9k4](/packages/calebdw-larastan)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

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