PHPackages                             rymanalu/dusk-for-sentinel - 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. rymanalu/dusk-for-sentinel

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

rymanalu/dusk-for-sentinel
==========================

Laravel Dusk for Sentinel.

v1.0.1(6y ago)02.9k5[1 issues](https://github.com/rymanalu/dusk-for-sentinel/issues)MITPHPPHP &gt;=5.6.4

Since Jun 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/rymanalu/dusk-for-sentinel)[ Packagist](https://packagist.org/packages/rymanalu/dusk-for-sentinel)[ RSS](/packages/rymanalu-dusk-for-sentinel/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

Laravel Dusk for Sentinel
=========================

[](#laravel-dusk-for-sentinel)

[![Build Status](https://camo.githubusercontent.com/2c1f77283a9540648a6846eff4c8d230d813bc650f779b7add96a7dd33af4230/68747470733a2f2f7472617669732d63692e6f72672f72796d616e616c752f6475736b2d666f722d73656e74696e656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rymanalu/dusk-for-sentinel)

This package override the routes that used by `loginAs` method in [Laravel Dusk](https://github.com/laravel/dusk) so it can be used for Laravel project who using the [Sentinel](https://github.com/cartalyst/sentinel) package for the authentication, since the default implementation of that method is using the Laravel Authentication service.

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

[](#installation)

First, install this package via the Composer package manager:

```
composer require rymanalu/dusk-for-sentinel

```

It is fine if you already install the Laravel Dusk before or only install this package.

Register the `Rymanalu\DuskForSentinel\DuskForSentinelServiceProvider` in your `AppServiceProvider`. If you already register the `Laravel\Dusk\DuskServiceProvider`, just replace it to this provider:

```
use Rymanalu\DuskForSentinel\DuskForSentinelServiceProvider;

/**
 * Register any application services.
 *
 * @return void
 */
public function register()
{
    if ($this->app->environment('local', 'testing')) {
        $this->app->register(DuskForSentinelServiceProvider::class);
    }
}
```

You may run `php artisan dusk:install` if you haven't already publish the Dusk package or you can check out the [documentation](https://laravel.com/docs/dusk#installation) for further Dusk configuration.

Usage
-----

[](#usage)

So now, you can authenticate the Sentinel User object with the `loginAs` method in your browser test script:

```
$this->browse(function (Browser $browser) {
    $browser->loginAs(Sentinel::findById(1))
            ->visit('/home');
});
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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 ~259 days

Total

4

Last Release

2491d ago

Major Versions

v0.0.2 → v1.0.02017-06-02

### Community

Maintainers

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

---

Top Contributors

[![rymanalu](https://avatars.githubusercontent.com/u/6141573?v=4)](https://github.com/rymanalu "rymanalu (11 commits)")[![orediggerco](https://avatars.githubusercontent.com/u/7918825?v=4)](https://github.com/orediggerco "orediggerco (1 commits)")

---

Tags

authenticationcartalystdusklaravelsentineltestingtestinglaravelAuthenticationsentinelcartalystdusk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rymanalu-dusk-for-sentinel/health.svg)

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

###  Alternatives

[larastan/larastan

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

6.4k43.5M5.2k](/packages/larastan-larastan)[timacdonald/log-fake

A drop in fake logger for testing with the Laravel framework.

4235.9M56](/packages/timacdonald-log-fake)[sti3bas/laravel-scout-array-driver

Array driver for Laravel Scout

971.5M3](/packages/sti3bas-laravel-scout-array-driver)[srlabs/laravel-testing-utilities

Helper utilities for testing Laravel Applications

1011.9k](/packages/srlabs-laravel-testing-utilities)

PHPackages © 2026

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