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

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

simonvomeyser/laravel-automatic-tests
=====================================

This is my package laravel-automatic-tests

1.0.5(3y ago)03.0k1[2 PRs](https://github.com/simonvomeyser/laravel-automatic-tests/pulls)MITPHPPHP ^7.2|^8.0

Since Sep 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/simonvomeyser/laravel-automatic-tests)[ Packagist](https://packagist.org/packages/simonvomeyser/laravel-automatic-tests)[ Docs](https://github.com/simonvomeyser/laravel-automatic-tests)[ RSS](/packages/simonvomeyser-laravel-automatic-tests/feed)WikiDiscussions main Synced today

READMEChangelog (6)Dependencies (9)Versions (9)Used By (0)

Automatic Tests for Static Pages
================================

[](#automatic-tests-for-static-pages)

[![Latest Version on Packagist](https://camo.githubusercontent.com/bf745d717b79419ce4e192904fa32ebfe42e7f4e7b6c34d39bab93d244e846ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73696d6f6e766f6d65797365722f6c61726176656c2d6175746f6d617469632d74657374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simonvomeyser/laravel-automatic-tests)[![GitHub Tests Action Status](https://camo.githubusercontent.com/f8c6c7bc3512dfaa17f496c804fb7cd12f2f1c73f4315382ce9c472540be0102/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73696d6f6e766f6d65797365722f6c61726176656c2d6175746f6d617469632d74657374732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/simonvomeyser/laravel-automatic-tests/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d92018606f530f7784f5d9e323f9bd33d85b4e2a3b92686a4871fcc6e7265696/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73696d6f6e766f6d65797365722f6c61726176656c2d6175746f6d617469632d74657374732f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/simonvomeyser/laravel-automatic-tests/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/41a0dcd8d7b24c78297e131393b371adaf49213035866e2e9220a71f519bf789/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73696d6f6e766f6d65797365722f6c61726176656c2d6175746f6d617469632d74657374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simonvomeyser/laravel-automatic-tests)

A package to quickly and automatically test all static, internal links in your Laravel app. Working with PHPUnit or PEST. 🎉

There are a many [options](https://github.com/simonvomeyser/laravel-automatic-tests#configuration), but the most simple test is:

```
    //...
    public function testAllStaticPages()
    {
        // Crawls all pages reachable from the root of your application
        // Makes sure, that all links return a response code < 400
        StaticPagesTester::create()->run();
    }
    //...
```

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

[](#installation)

```
composer require simonvomeyser/laravel-automatic-tests
```

There are no configs to be published since all configuration can be made via fluid methods.

Usage
-----

[](#usage)

Without any configuration, you can use this package...

with the [PEST framework](https://pestphp.com/)

```
