PHPackages                             steelants/laravel-auth - 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. steelants/laravel-auth

ActiveLibrary

steelants/laravel-auth
======================

Laravel Auth

1.1.7(2mo ago)13.1k↓41.7%[1 PRs](https://github.com/steelants/laravel-auth/pulls)1MITPHP

Since Mar 8Pushed 2mo ago1 watchersCompare

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

READMEChangelogDependencies (14)Versions (24)Used By (1)

Laravel-Auth
============

[](#laravel-auth)

Currently WIP
-------------

[](#currently-wip)

### Created by: [SteelAnts s.r.o.](https://www.steelants.cz/)

[](#created-by-steelants-sro)

[![Total Downloads](https://camo.githubusercontent.com/04c0816e29bba499ee0790341cc69b2a0c383ec8c126601f8b4922da8243ddc4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737465656c616e74732f6c61726176656c2d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/steelants/laravel-auth)

Install
-------

[](#install)

1. Artisan Command

```
install:auth
```

2. add routes to **web.php**

```
Route::auth();
```

### Optional Features

[](#optional-features)

\*Both features are disabled by default to avoid route collisions.

**Email verification**

- Protects routes with the `verified` middleware and provides notice/verify/resend endpoints when enabled.
- Requires `Route::auth(['verify' => true]);` and the `HandlesEmailVerification` plugin trait added to your `AuthController` next to `Authentication`.

**MFA (TOTP)**

- Adds TOTP setup/verification screens and enforces checks via the `verified.totp` middleware.
- Requires `Route::auth(['totp' => true]);` and the `HandlesTotp` plugin trait added to your `AuthController` next to `Authentication`.
- Install QR dependency in your app: `composer require endroid/qr-code`.

### Auth controller setup

[](#auth-controller-setup)

Your `AuthController` pulls in the core auth trait, plus the plugin traits for optional features:

```
use SteelAnts\LaravelAuth\Traits\Authentication;
use SteelAnts\LaravelAuth\Traits\HandlesEmailVerification;
use SteelAnts\LaravelAuth\Traits\HandlesTotp;

class AuthController extends Controller
{
    use Authentication;
    use HandlesEmailVerification; // enable email verification flows
    use HandlesTotp;              // enable TOTP MFA flows
}
```

Development
-----------

[](#development)

1. Create subfolder `/packages` at root of your laravel project
2. clone repository to sub folder `/packages` (you need to be positioned at root of your laravel project in your terminal)

```
git clone https://github.com/steelants/laravel-auth.git ./packages/laravel-auth
```

3. edit composer.json file

```
"autoload": {
	"psr-4": {
		"SteelAnts\\LaravelAuth\\": "packages/laravel-auth/src/"
	}
}
```

4. Add provider to `bootstrap/providers.php`

```
return [
	...
	SteelAnts\LaravelAuth\AuthServiceProvider::class,
	...
];
```

6. aplicate packages changes

```
php artisan install:auth --force
```

Contributors
------------

[](#contributors)

[ ![](https://camo.githubusercontent.com/7ee869fba41a3e2bbf15c6c81ecf5ff560c12a1c06f3ee2a7e521df465a88c7b/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d737465656c616e74732f6c61726176656c2d61757468)](https://github.com/steelants/laravel-auth/graphs/contributors)Other Packages
--------------

[](#other-packages)

[steelants/datatable](https://github.com/steelants/Livewire-DataTable)

[steelants/form](https://github.com/steelants/Laravel-Form)

[steelants/modal](https://github.com/steelants/Livewire-Modal)

[steelants/boilerplate](https://github.com/steelants/Laravel-Boilerplate)

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance86

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.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 ~36 days

Total

21

Last Release

69d ago

Major Versions

0.5.0 → 1.0.02024-03-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/3dc98a78c37f6eea8dc7942cdace8a805ba6430a020e6ab54c62a0639fe51f38?d=identicon)[JonatanRek](/maintainers/JonatanRek)

---

Top Contributors

[![GamerClassN7](https://avatars.githubusercontent.com/u/22167469?v=4)](https://github.com/GamerClassN7 "GamerClassN7 (66 commits)")[![Imendin](https://avatars.githubusercontent.com/u/3099109?v=4)](https://github.com/Imendin "Imendin (10 commits)")[![Xinatorus](https://avatars.githubusercontent.com/u/17276754?v=4)](https://github.com/Xinatorus "Xinatorus (10 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/steelants-laravel-auth/health.svg)

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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