PHPackages                             volt-test/laravel-performance-testing - 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. volt-test/laravel-performance-testing

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

volt-test/laravel-performance-testing
=====================================

A Laravel package for performance testing with VoltTest

v1.3.2(4d ago)779.8k↓34.5%4MITPHPPHP ^8.2CI passing

Since Jun 23Pushed 4d ago1 watchersCompare

[ Source](https://github.com/volt-test/laravel-performance-testing)[ Packagist](https://packagist.org/packages/volt-test/laravel-performance-testing)[ RSS](/packages/volt-test-laravel-performance-testing/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (14)Versions (19)Used By (0)

Laravel Performance Testing
===========================

[](#laravel-performance-testing)

A Laravel package for performance testing with the VoltTest PHP SDK. Easily create and run load tests for your Laravel applications with built-in route discovery, CSRF handling, and comprehensive reporting.

[![Latest Version on Packagist](https://camo.githubusercontent.com/2119f7e73e445f87789a1c148daad905629b33c5d4a89800e1e6105f1f33718b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f766f6c742d746573742f6c61726176656c2d706572666f726d616e63652d74657374696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/volt-test/laravel-performance-testing) [![Total Downloads](https://camo.githubusercontent.com/82e503714df7d96b1512e20317a4cb06803a3ee18d004caafa987794f5c849ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f766f6c742d746573742f6c61726176656c2d706572666f726d616e63652d74657374696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/volt-test/laravel-performance-testing) [![GitHub Tests Action Status](https://camo.githubusercontent.com/a3464961b30ccdcc88439c7df13c64390fdaf9789ef4516e3736fcb6524c0204/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f766f6c742d746573742f6c61726176656c2d706572666f726d616e63652d74657374696e672f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/volt-test/laravel-performance-testing/actions)

Features
--------

[](#features)

- **Artisan Commands** — Create and run tests from the CLI
- **Route Discovery** — Auto-generate test scaffolds from your Laravel routes
- **Target Configuration** — Set the target URL explicitly or auto-detect from config
- **Stages** — Define ramped load profiles (ramp-up, hold, spike, ramp-down)
- **Cloud Execution** — Run tests on VoltTest Cloud with multi-region support
- **CSV Data Sources** — Drive tests with dynamic data from CSV files
- **PHPUnit Integration** — Run performance tests in your test suite with assertions
- **CSRF &amp; Cookie Handling** — Automatic Laravel session and CSRF token management

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

[](#requirements)

- PHP 8.2+
- Laravel 11, 12, or 13
- VoltTest PHP SDK ^1.2

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

[](#installation)

```
composer require volt-test/laravel-performance-testing --dev
```

Publish the configuration file:

```
php artisan vendor:publish --tag=volttest-config
```

Quick Start
-----------

[](#quick-start)

### 1. Create a test

[](#1-create-a-test)

```
php artisan volttest:make LoginTest
```

### 2. Define your scenario

[](#2-define-your-scenario)

```
class LoginTest implements VoltTestCase
{
    public function define(VoltTestManager $manager): void
    {
        $manager->target('http://localhost:8000');

        $scenario = $manager->scenario('Login Flow');

        $scenario->step('Get Login Page')
            ->get('/login')
            ->expectStatus(200)
            ->extractCsrfToken();

        $scenario->step('Submit Login')
            ->post('/login', [
                '_token' => '${csrf_token}',
                'email' => 'user@example.com',
                'password' => 'password',
            ])
            ->expectStatus(302);
    }
}
```

### 3. Run the test

[](#3-run-the-test)

```
php artisan volttest:run LoginTest --users=10 --duration=30s
```

### 4. Direct URL testing

[](#4-direct-url-testing)

```
php artisan volttest:run https://api.example.com/health --url --users=50 --duration=1m
```

Documentation
-------------

[](#documentation)

For full documentation, visit **[docs.volt-test.com](https://docs.volt-test.com)**:

TopicDescription[Installation](https://docs.volt-test.com/docs/laravel/laravel-installation)Setup and configuration[Quick Start](https://docs.volt-test.com/docs/laravel/laravel-quick-start)Get running in 5 minutes[Artisan Commands](https://docs.volt-test.com/docs/laravel/laravel-cli-commands)`volttest:make` and `volttest:run` options[Creating Tests](https://docs.volt-test.com/docs/laravel/laravel-creating-tests)Test structure, scenarios, steps, and route discovery[API Testing](https://docs.volt-test.com/docs/laravel/laravel-api-testing)Authentication flows, CRUD, and data extraction[Web Testing](https://docs.volt-test.com/docs/laravel/laravel-web-testing)HTML forms, CSRF tokens, and multi-step flows[Data-Driven Testing](https://docs.volt-test.com/docs/laravel/laravel-data-driven-testing)CSV data sources and distribution modes[PHPUnit Integration](https://docs.volt-test.com/docs/laravel/laravel-phpunit-integration)Performance assertions and server management[Assertions](https://docs.volt-test.com/docs/laravel/laravel-assertions)Available performance assertions[Cloud Execution](https://docs.volt-test.com/docs/laravel/laravel-cloud-mode)Run on VoltTest Cloud with multi-region support[Configuration](https://docs.volt-test.com/docs/laravel/laravel-configuration)Full config referenceFor core VoltTest PHP SDK documentation, visit **[docs.volt-test.com](https://docs.volt-test.com)**.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](LICENSE.md).

Changelog
---------

[](#changelog)

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

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance99

Actively maintained with recent releases

Popularity40

Moderate usage in the ecosystem

Community9

Small or concentrated contributor base

Maturity58

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

Recently: every ~55 days

Total

13

Last Release

4d ago

Major Versions

0.0.6-beta → v1.0.02025-06-26

PHP version history (2 changes)0.0.1-betaPHP ^8.0

0.0.2-betaPHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/41b8673160eacddf78a4e7a014e39bfb6c469a8e69a0180308c1aba68414d915?d=identicon)[elwafa](/maintainers/elwafa)

---

Top Contributors

[![elwafa](https://avatars.githubusercontent.com/u/9096983?v=4)](https://github.com/elwafa "elwafa (137 commits)")

---

Tags

laravellaravel-packageload-testingperformance-testingstress-testinglaravelvolt-testperformance-testingload-testingstress-testing

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/volt-test-laravel-performance-testing/health.svg)

```
[![Health](https://phpackages.com/badges/volt-test-laravel-performance-testing/health.svg)](https://phpackages.com/packages/volt-test-laravel-performance-testing)
```

###  Alternatives

[larastan/larastan

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

6.5k55.4M8.4k](/packages/larastan-larastan)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[christophrumpel/missing-livewire-assertions

This package adds missing livewire test assertions.

149410.5k15](/packages/christophrumpel-missing-livewire-assertions)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[calebdw/larastan

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

15118.7k4](/packages/calebdw-larastan)[volt-test/php-sdk

Volt Test PHP SDK - A performance testing tool for PHP Developers

5314.0k2](/packages/volt-test-php-sdk)

PHPackages © 2026

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