PHPackages                             duncan3dc/dusk - 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. duncan3dc/dusk

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

duncan3dc/dusk
==============

Use Laravel Dusk without the full Laravel framework

1.2.0(1y ago)858.1k11[2 issues](https://github.com/duncan3dc/dusk/issues)4Apache-2.0PHPPHP ^7.3 || ^8.0CI failing

Since Feb 26Pushed 1y ago4 watchersCompare

[ Source](https://github.com/duncan3dc/dusk)[ Packagist](https://packagist.org/packages/duncan3dc/dusk)[ Docs](https://github.com/duncan3dc/dusk)[ RSS](/packages/duncan3dc-dusk/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (10)Versions (23)Used By (4)

dusk
====

[](#dusk)

Use Dusk browser automation as a standalone component without the full Laravel framework

Full documentation is available at
PHPDoc API documentation is also available at [http://duncan3dc.github.io/dusk/api/](http://duncan3dc.github.io/dusk/api/namespaces/duncan3dc.Laravel.html)

[![release](https://camo.githubusercontent.com/7d45f5b98d4a99f06e5698e8f4115288f9df4d7b093923d3f1011852b4f4a937/68747470733a2f2f706f7365722e707567782e6f72672f64756e63616e3364632f6475736b2f76657273696f6e2e737667)](https://packagist.org/packages/duncan3dc/dusk)[![build](https://github.com/duncan3dc/dusk/workflows/.github/workflows/buildcheck.yml/badge.svg?branch=main)](https://github.com/duncan3dc/dusk/actions?query=branch%3Amain+workflow%3A.github%2Fworkflows%2Fbuildcheck.yml)[![coverage](https://camo.githubusercontent.com/f121b4e3978f63f14a23ca3bde0dc637cc3deb6e9188755f423b68bc3a476dd2/68747470733a2f2f636f6465636f762e696f2f67682f64756e63616e3364632f6475736b2f67726170682f62616467652e737667)](https://codecov.io/gh/duncan3dc/dusk)

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

[](#installation)

The recommended method of installing this library is via [Composer](//getcomposer.org/).

Run the following command from your project root:

```
$ composer require duncan3dc/dusk
```

Getting Started
---------------

[](#getting-started)

```
use duncan3dc\Laravel\Dusk;

require __DIR__ . "/vendor/autoload.php";

$dusk = new Dusk;

$dusk->visit("http://example.com");
echo $dusk->element("h1")->getText() . "\n";
```

*Read more at *

Changelog
---------

[](#changelog)

A [Changelog](CHANGELOG.md) has been available since the beginning of time

Where to get help
-----------------

[](#where-to-get-help)

Found a bug? Got a question? Just not sure how something works?
Please [create an issue](//github.com/duncan3dc/dusk/issues) and I'll do my best to help out.
Alternatively you can catch me on [Twitter](https://twitter.com/duncan3dc)

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance41

Moderate activity, may be stable

Popularity33

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 96.3% 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 ~154 days

Recently: every ~491 days

Total

19

Last Release

621d ago

Major Versions

0.9.0 → 1.0.02019-03-25

PHP version history (5 changes)0.1.0PHP ^5.6|^7.0

0.4.1PHP ^7.0

0.7.0PHP ^7.1

1.0.2PHP ^7.2

1.1.0PHP ^7.3 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/11dc66042513f11d1c99b1e6763f25dca84a3ff31cdbea3972b9b804a3d3d5e9?d=identicon)[duncan3dc](/maintainers/duncan3dc)

---

Top Contributors

[![duncan3dc](https://avatars.githubusercontent.com/u/546811?v=4)](https://github.com/duncan3dc "duncan3dc (78 commits)")[![antoniopaisfernandes](https://avatars.githubusercontent.com/u/6171197?v=4)](https://github.com/antoniopaisfernandes "antoniopaisfernandes (1 commits)")[![bbashy](https://avatars.githubusercontent.com/u/1149200?v=4)](https://github.com/bbashy "bbashy (1 commits)")[![Joeri-Abbo](https://avatars.githubusercontent.com/u/34270045?v=4)](https://github.com/Joeri-Abbo "Joeri-Abbo (1 commits)")

---

Tags

dusklaravel-frameworkphpwebdriverbrowserlaravelenginescrapingscreen

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/duncan3dc-dusk/health.svg)

```
[![Health](https://phpackages.com/badges/duncan3dc-dusk/health.svg)](https://phpackages.com/packages/duncan3dc-dusk)
```

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k41.3M38.7k](/packages/orchestra-testbench)[pestphp/pest

The elegant PHP Testing Framework.

11.5k67.7M18.9k](/packages/pestphp-pest)[brianium/paratest

Parallel testing for PHP

2.5k129.9M910](/packages/brianium-paratest)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15311.8M36](/packages/magento-magento2-functional-testing-framework)[orchestra/testbench-dusk

Laravel Dusk Testing Helper for Packages Development

1051.0M193](/packages/orchestra-testbench-dusk)

PHPackages © 2026

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