PHPackages                             zdirnecamlcs96/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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. zdirnecamlcs96/laravel-auth

ArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

zdirnecamlcs96/laravel-auth
===========================

Authentication for laravel

v1.0.0(3y ago)07PHPCI passing

Since Jul 13Pushed 1y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (9)Versions (2)Used By (0)

Simple Auth for Laravel
=======================

[](#simple-auth-for-laravel)

We're using [Laravel Passport](https://laravel.com/docs/9.x/passport) or [Laravel Sanctum](https://laravel.com/docs/9.x/sanctum) for api authetication.

---

Requirement:
------------

[](#requirement)

1. Laravel 9 and above
2. Choose either `Laravel Passport` or `Laravel Sanctum`

---

Setup
-----

[](#setup)

1. First, run `php artisan migrate` to setup migration in database
2. If you're using Laravel Passport, please run `php artisan passport:install` to install oauth client key
3. Extend use `Zdirnecamlcs96\Auth\Models\User as Base`
4. Import either one of the Trait in `app/Models/User.php` file

```
use Laravel\Passport\HasApiTokens;
use Laravel\Sanctum\HasApiTokens;

```

5. You may publish the `config/authetication.php` and modify the `mode`.
6. All done. You may test your auth with [Postman](https://www.postman.com/).

Available Contracts
-------------------

[](#available-contracts)

ContractDescription--Available Tratis
----------------

[](#available-tratis)

TraitDescription`Zdirnecamlcs96\Auth\Traits\HasSocialIdentity`Add `SocialIdentity` relationship with third party token`Zdirnecamlcs96\Auth\Traits\HasContact`Add `Contact` relationship with verification status

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

1399d ago

### Community

Maintainers

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

---

Top Contributors

[![chiasheng96](https://avatars.githubusercontent.com/u/47107671?v=4)](https://github.com/chiasheng96 "chiasheng96 (22 commits)")[![zdirnecamlcs96](https://avatars.githubusercontent.com/u/12760908?v=4)](https://github.com/zdirnecamlcs96 "zdirnecamlcs96 (22 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laragear/two-factor

On-premises 2FA Authentication for out-of-the-box.

339785.3k8](/packages/laragear-two-factor)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[alajusticia/laravel-logins

Session management in Laravel apps, user notifications on new access, support for multiple separate remember tokens, IP geolocation, User-Agent parser

2011.0k](/packages/alajusticia-laravel-logins)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1225.0k10](/packages/fleetbase-core-api)

PHPackages © 2026

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