PHPackages                             zoomyboy/tests - 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. zoomyboy/tests

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

zoomyboy/tests
==============

0.1.0(7y ago)071PHP

Since Nov 23Pushed 4y agoCompare

[ Source](https://github.com/zoomyboy/tests)[ Packagist](https://packagist.org/packages/zoomyboy/tests)[ RSS](/packages/zoomyboy-tests/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (11)Used By (0)

Laravel test helpers
====================

[](#laravel-test-helpers)

Checking Authorization
----------------------

[](#checking-authorization)

You can check authorization with the ChecksAuthorization Trait

```
    use ChecksAuthorization;

    ...

    $this->assertRequestDenies(new Request($get, $post));
    $this->assertRequestGrants(new Request($get, $post));

```

User mocking
------------

[](#user-mocking)

You can fake a currently authenticated usser and set its Rights:

```
public $fakeUserModel = \App\User::class;

...

$this->mockUser(array $rights);

```

$rights is an array with all the right keys of this user. You should set the fakeUserModel on the test class to resolve the user (which is \\App\\User by default)

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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 ~55 days

Recently: every ~105 days

Total

10

Last Release

2644d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3300951?v=4)[Philipp Lang](/maintainers/zoomyboy)[@zoomyboy](https://github.com/zoomyboy)

### Embed Badge

![Health badge](/badges/zoomyboy-tests/health.svg)

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

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14228.7M341](/packages/dms-phpunit-arraysubset-asserts)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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