PHPackages                             craigpaul/blitz-laravel - 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. craigpaul/blitz-laravel

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

craigpaul/blitz-laravel
=======================

Laravel package for integrating with an internal load testing tool named Blitz

v0.5.3(1y ago)016.1kMITPHPPHP ^8.1

Since Nov 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/craigpaul/blitz-laravel)[ Packagist](https://packagist.org/packages/craigpaul/blitz-laravel)[ Docs](https://github.com/craigpaul/blitz-laravel)[ RSS](/packages/craigpaul-blitz-laravel/feed)WikiDiscussions main Synced 1mo ago

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

Blitz-Laravel
=============

[](#blitz-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2efc0857d4c352cacd75be3e005803ff61dbbfccb73970a16f10fd07b2493367/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63726169677061756c2f626c69747a2d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/craigpaul/blitz-laravel)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Tests](https://camo.githubusercontent.com/f1565eecd73a2da3b69adfcc3574a2008c51af15d924870745123bf0a1316948/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f63726169677061756c2f626c69747a2d6c61726176656c2f74657374732f6d61696e3f6c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/craigpaul/blitz-laravel/actions?query=workflow%3Atests)[![Total Downloads](https://camo.githubusercontent.com/246b4a19746c6afde778b162a8018b68053f03fc92f772c894aba824bc5e4fdf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63726169677061756c2f626c69747a2d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/craigpaul/blitz-laravel)

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

[](#installation)

You can install the package via composer:

```
composer require craigpaul/blitz-laravel
```

The package will automatically register itself, you will however have to explicitly enable it. To do so, update your `.env` file (or however you are managing environment variables for the environment in question) with the following variable.

```
BLITZ_ENABLED=true
```

Usage
-----

[](#usage)

To create a new test case, use the `make:blitz` Artisan command. Tests will be placed within the `tests/Blitz` directory:

```
php artisan make:blitz ExampleTest
```

Once the test has been generated, you may begin writing out your workflow using the scaffolded `handle` method.

Note

Unlike the way you would write multiple test cases with a framework like PHPUnit in Laravel, each class is it's own unique test case (or workflow).

Blitz provides a very fluent (and hopefully familiar) API for making HTTP requests to your application. There are both JSON and non-JSON methods matching all the regular HTTP verbs available for instructing Blitz on what requests to make to your application.

The same *best practices* you're used to in your everyday Laravel HTTP tests also apply here. You can begin by "setting up the world", meaning to create any seed data you want to exist for your test.

Important

This data is persisted and used in real time when executing the load tests against your application, so it is advised to model the data and requests based on expected real world usage.

Once you have your data set up, you can move onto making actual requests into your application. This follows the same structure as a typical Laravel HTTP test by calling methods such as `get`, `post`, `put`, `patch`, or `delete` (or their JSON counterparts).

Thats all there really is to setting up a basic load test with Blitz. From here, you will want to sign into your running instance of the Blitz UI (local or hosted) and set up the project to begin executing your load tests against whatever environment you desire.

Changelog
---------

[](#changelog)

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

Testing
-------

[](#testing)

```
composer test

```

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

[](#contributing)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review our [security policy](.github/SECURITY.md) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Craig Paul](https://github.com/craigpaul)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Every ~27 days

Recently: every ~2 days

Total

12

Last Release

603d ago

### Community

Maintainers

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

---

Top Contributors

[![craigpaul](https://avatars.githubusercontent.com/u/22353359?v=4)](https://github.com/craigpaul "craigpaul (55 commits)")

---

Tags

laravelload-testingblitzcraigpaul

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/craigpaul-blitz-laravel/health.svg)

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

###  Alternatives

[mpociot/laravel-test-factory-helper

Generate Laravel test factories from your existing models

933635.2k2](/packages/mpociot-laravel-test-factory-helper)[laracasts/behat-laravel-extension

Laravel extension for Behat

2611.3M12](/packages/laracasts-behat-laravel-extension)[volt-test/laravel-performance-testing

A Laravel package for performance testing with VoltTest

714.9k](/packages/volt-test-laravel-performance-testing)[davestewart/sketchpad

An innovative front-end environment for interactive Laravel development

29512.9k1](/packages/davestewart-sketchpad)[kunicmarko/graphql-test

GraphQL Test Cases

1359.0k](/packages/kunicmarko-graphql-test)[mnabialek/laravel-quick-migrations

Run Laravel tests quicker

2210.9k](/packages/mnabialek-laravel-quick-migrations)

PHPackages © 2026

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