PHPackages                             blasher/laratest - 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. blasher/laratest

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

blasher/laratest
================

Generic Test Suite for Laravel

0.2.4(8y ago)036MITPHP

Since Nov 2Pushed 8y ago1 watchersCompare

[ Source](https://github.com/blasher/laratest)[ Packagist](https://packagist.org/packages/blasher/laratest)[ Docs](https://github.com/blasher/laratest)[ RSS](/packages/blasher-laratest/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (16)Used By (0)

laratest
========

[](#laratest)

Generic Test Suite For Laravel

Introduction
------------

[](#introduction)

This is meant to be a generic test suite for laravel. It is meant to give a little reassurance that all api routes are protected by some authentication method. This library should be used in addition to more specific testing, not in lieu of it

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

[](#installation)

1. Require Package

```
composer requre blasher/laratest

```

2. Authorization Scaffolding

If you haven't already built your authorization scaffolding, make sure do to

```
php artisan make:auth

```

or tests will fail due to 500 errors when redirecting to "/login" route

3. Publish tests

Then publush the appropriate tests via the commands below:

```
php artisan vendor:publish --tag=laratest_token

```

or

```
php artisan vendor:publish --tag=laratest_passport

```

To do
-----

[](#to-do)

- modify token auth test to compare data returned from api call to internally generated route output
- write code for passport authentication testing

License
-------

[](#license)

blasher/laratest is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

16

Last Release

3082d ago

### Community

Maintainers

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

---

Top Contributors

[![blasher](https://avatars.githubusercontent.com/u/5833506?v=4)](https://github.com/blasher "blasher (76 commits)")

---

Tags

apitestlaravel

### Embed Badge

![Health badge](/badges/blasher-laratest/health.svg)

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

PHPackages © 2026

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