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

ActiveVendra-module[Testing &amp; Quality](/categories/testing)

misaf/vendra-testing
====================

Shared testing utilities for Vendra modules

v1.10.0(2w ago)11920MITPHPPHP ^8.3CI passing

Since Jul 10Pushed 2w agoCompare

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

READMEChangelog (10)Dependencies (34)Versions (25)Used By (20)

Vendra Testing
==============

[](#vendra-testing)

Shared Pest utilities for Vendra package test suites.

Features
--------

[](#features)

- `toHaveAtLeastTwoLocales()` expectation
- `toHaveTranslationsInSync()` expectation
- `toHaveSortedTranslationKeys()` expectation
- `toSortByEverySortableColumn()` Livewire table expectation
- Deterministic translation file and key parity checks
- Provider-neutral tenant helpers that no-op when tenancy is disabled
- User factory helpers resolved from the configured authentication provider
- Tenant-feature and Filament admin test-context helpers

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 13
- Pest 4
- `misaf/vendra-support`

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

[](#installation)

```
composer require --dev misaf/vendra-testing
```

Composer loads the custom expectations automatically. Use a package language directory as the expectation value:

```
expect(__DIR__ . '/../../resources/lang')
    ->toHaveTranslationsInSync('vendra-example')
    ->toHaveSortedTranslationKeys('vendra-example');
```

Tenant-aware package tests should use `makeCurrentTestTenant()`, `switchToTestTenant()`, and the related helpers instead of importing the concrete Vendra Tenant provider.

Use `makeCurrentTestTenantWithFeatures()` when a test needs deterministic Pennant state, and `setUpFilamentAdminTestContext()` to boot a package's resources in the shared admin-panel test context.

To exercise every sortable table column in both directions:

```
expect($listPage)->toSortByEverySortableColumn($recordsInAscendingOrder);
```

Testing
-------

[](#testing)

Run the package checks from the package directory:

```
composer test
composer analyse
```

License
-------

[](#license)

MIT. See [LICENSE](LICENSE).

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance96

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.2% 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 ~1 days

Total

23

Last Release

18d ago

Major Versions

0.2.0 → v1.0.02026-07-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/41fd7351d25e29dafa18068d0418eecf6bb47a7473aabe6bc674b4ca35e71805?d=identicon)[misaf](/maintainers/misaf)

---

Top Contributors

[![misaf](https://avatars.githubusercontent.com/u/8195685?v=4)](https://github.com/misaf "misaf (51 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

testinglaravelfilamentphpmisafvendra

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[illuminate/filesystem

The Illuminate Filesystem package.

16166.4M3.5k](/packages/illuminate-filesystem)[illuminate/session

The Illuminate Session package.

9939.9M888](/packages/illuminate-session)[testo/testo

A lightweight PHP testing framework.

20319.6k179](/packages/testo-testo)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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