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

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

julianstark999/laravel-tests-generator
======================================

laravel-tests-generator

0.0.1(5y ago)2171MITPHPPHP ^7.4|^8.0

Since Mar 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/julianstark999/laravel-tests-generator)[ Packagist](https://packagist.org/packages/julianstark999/laravel-tests-generator)[ Docs](https://github.com/julianstark999/laravel-tests-generator)[ GitHub Sponsors](https://github.com/julianstark999)[ RSS](/packages/julianstark999-laravel-tests-generator/feed)WikiDiscussions master Synced 3d ago

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

[![Social Card of Laravel Tests Generator](https://camo.githubusercontent.com/b9545386fadd142e22d423e62bb8c71c5f38eddec6d88cd404756aa02318182d/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f6c61726176656c2d74657374732d67656e657261746f722e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6a756c69616e737461726b3939392532466c61726176656c2d74657374732d67656e657261746f72267061747465726e3d63697263756974426f617264267374796c653d7374796c655f32266465736372697074696f6e3d266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d6461746162617365267769647468733d33353026686569676874733d333530)](https://camo.githubusercontent.com/b9545386fadd142e22d423e62bb8c71c5f38eddec6d88cd404756aa02318182d/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f6c61726176656c2d74657374732d67656e657261746f722e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6a756c69616e737461726b3939392532466c61726176656c2d74657374732d67656e657261746f72267061747465726e3d63697263756974426f617264267374796c653d7374796c655f32266465736372697074696f6e3d266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d6461746162617365267769647468733d33353026686569676874733d333530)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3d4af1de0adf8d8d712de255706eece75ccdcae69d267f661049e2bc72463a37/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a756c69616e737461726b3939392f6c61726176656c2d74657374732d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/julianstark999/laravel-tests-generator)[![GitHub Tests Action Status](https://camo.githubusercontent.com/b3d42cf91edd28bd41c22fca91c9d86ba96dec349cbfccef98718de88f16dcae/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6a756c69616e737461726b3939392f6c61726176656c2d74657374732d67656e657261746f722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/julianstark999/laravel-tests-generator/actions?query=workflow%3ATests+branch%3Amaster)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/6f2a683eb314136102d37c6e78b4b579f9765c9858efef19eee7c671e5698013/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6a756c69616e737461726b3939392f6c61726176656c2d74657374732d67656e657261746f722f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/julianstark999/laravel-tests-generator/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/766af7ce68ab2dab39e1f4e48aed8d16ea2b6cdcea6fe852b16ce5a0632fbe21/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a756c69616e737461726b3939392f6c61726176656c2d74657374732d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/julianstark999/laravel-tests-generator)

Create all missing Tests
========================

[](#create-all-missing-tests)

This Laravel package provides a command to automatically generate all missing tests

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

[](#installation)

You can install the package via composer:

```
composer require julianstark999/laravel-tests-generator
```

You can publish the config file with:

```
php artisan vendor:publish --provider="JulianStark999\LaravelTestsGenerator\LaravelTestsGeneratorServiceProvider" --tag="laravel-tests-generator-config"
```

This is the contents of the published config file:

```
return [
    'directories' => [
        'actions' => 'Actions',
        'commands' => 'Console\Commands',
        'enums' => 'Enums',
        'exceptions' => 'Exceptions',
        'helper' => 'Helper',
        'controllers' => 'Http\Controllers',
        'middleware' => 'Http\Middleware',
        'requests' => 'Http\Requests',
        'resources' => 'Http\Resources',
        'jobs' => 'Jobs',
        'mail' => 'Mail',
        'models' => 'Models',
        'notifications' => 'Notifications',
        'observers' => 'Observers',
        'providers' => 'Providers',
        'rules' => 'Rules',
        'services' => 'Services',
        'traits' => 'Traits',
        'views' => 'View',
    ],
];
```

Usage
-----

[](#usage)

### Commands

[](#commands)

#### tests-generator {--dir=\*}

[](#tests-generator---dir)

The `tests-generator` command generates missing tests

```
php artisan tests-generator {--dir=*}

# example
php artisan tests-generator --dir=controllers
```

**See the configuration file example or publish it yourself for all available dirs**

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Julian Stark](https://github.com/julianstark999)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

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

1895d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7670380?v=4)[Julian S.](/maintainers/julianstark999)[@julianstark999](https://github.com/julianstark999)

---

Top Contributors

[![julianstark999](https://avatars.githubusercontent.com/u/7670380?v=4)](https://github.com/julianstark999 "julianstark999 (9 commits)")

---

Tags

julianstark999laravel-tests-generator

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  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)[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M191](/packages/spatie-laravel-backup)[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.2M51](/packages/spatie-laravel-responsecache)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[christophrumpel/missing-livewire-assertions

This package adds missing livewire test assertions.

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

PHPackages © 2026

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