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

ActiveLibrary

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

Use Laravel Dusk without the full Laravel framework

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

Since Feb 26Pushed 11mo 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 1mo ago

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

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

48

—

FairBetter than 94% of packages

Maintenance45

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community21

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

576d 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.2k39.1M32.1k](/packages/orchestra-testbench)[laravel/dusk

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

1.9k36.7M256](/packages/laravel-dusk)[jenssegers/agent

Desktop/mobile user agent parser with support for Laravel, based on Mobiledetect

4.8k67.8M440](/packages/jenssegers-agent)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[playwright-php/playwright

Modern PHP library for Playwright automation: browsing, scraping, screenshots, testing, and more.

7613.0k5](/packages/playwright-php-playwright)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)

PHPackages © 2026

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