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

ActiveLaravel-package[Testing &amp; Quality](/categories/testing)

adroit11/laravel-tests
======================

Reuseable laravel tests boilerplate

1.0.0(1y ago)20MITPHP

Since Mar 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Adroit11/laravel-test)[ Packagist](https://packagist.org/packages/adroit11/laravel-tests)[ RSS](/packages/adroit11-laravel-tests/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Laravel Tests Package
=====================

[](#laravel-tests-package)

A reusable testing package for Laravel applications, designed to streamline test setup and provide custom assertions and helpers for common testing scenarios.

---

Features
--------

[](#features)

- **Reusable Test Files**: Pre-built tests for common Laravel features.
- **Custom Helpers**: Utility functions to simplify test assertions.
- **Easy Integration**: Seamlessly integrates with Laravel’s testing suite (PHPUnit or Pest).
- **Publishable Assets**: Quickly add tests to your project with a single command.

---

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

[](#requirements)

- **PHP**: 8.1 or higher
- **Laravel**: 10.x or 11.x
- **Composer**: Required for installation
- **Testing Framework**: Works with PHPUnit (default) or Pest (optional)

---

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

[](#installation)

Follow these steps to add the package to your Laravel project:

1. **Install via Composer**: ```
    composer require adroit11/laravel-tests
    ```

This pulls the package from Packagist (assuming you’ll submit it there) into your project.

2. **Publish the Test Filesr**: ```
    php artisan vendor:publish --tag=tests
    ```

This copies the test files to your tests/Feature/ directory.

3. **Run the testr**: ```
    php artisan test
    ```

---

License
-------

[](#license)

MIT License

Copyright (c) 2025 Ogundiji Bolade Adio

Permission is hereby granted, free of charge, to any person obtaining a copy of the `adroit11/laravel-tests` package and its associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE, INCLUDING ITS INTEGRATION INTO LARAVEL APPLICATIONS FOR TESTING PURPOSES.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance45

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

427d ago

### Community

Maintainers

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

---

Top Contributors

[![Adroit11](https://avatars.githubusercontent.com/u/19638388?v=4)](https://github.com/Adroit11 "Adroit11 (2 commits)")

### Embed Badge

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

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

###  Alternatives

[larastan/larastan

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

6.4k43.5M5.2k](/packages/larastan-larastan)[timacdonald/log-fake

A drop in fake logger for testing with the Laravel framework.

4235.9M56](/packages/timacdonald-log-fake)[illuminate/testing

The Illuminate Testing package.

3315.6M113](/packages/illuminate-testing)[christophrumpel/missing-livewire-assertions

This package adds missing livewire test assertions.

149336.0k9](/packages/christophrumpel-missing-livewire-assertions)[calebdw/larastan-livewire

A Larastan / PHPStan extension for Livewire.

43482.4k3](/packages/calebdw-larastan-livewire)[encodia/laravel-health-env-vars

Custom check for Spatie's Laravel Health - Ensure every .env variable you need has been set

20143.5k](/packages/encodia-laravel-health-env-vars)

PHPackages © 2026

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