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

AbandonedArchivedLibrary[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 yesterday

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 31% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

1452d 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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k91.9k1](/packages/mike-bronner-laravel-model-caching)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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