PHPackages                             packtdev/packt-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. packtdev/packt-auth

ActiveLibrary

packtdev/packt-auth
===================

packt-auth

2.0.0(3y ago)024.1k1MITPHPPHP ^7.4|^8.0

Since Feb 1Pushed 2y ago2 watchersCompare

[ Source](https://github.com/PacktDev/packt-auth)[ Packagist](https://packagist.org/packages/packtdev/packt-auth)[ Docs](https://github.com/PacktDev/packt-auth)[ RSS](/packages/packtdev-packt-auth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (8)Versions (8)Used By (0)

packt-auth
==========

[](#packt-auth)

This package defines the basis of O365 login for all Packt Platforms

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

[](#installation)

You can install the package via composer:

```
composer require packtdev/packt-auth
```

Publish and run the required migrations using:

```
php artisan vendor:publish --provider="Packt\PacktAuth\PacktAuthServiceProvider" --tag="packt-auth-migrations"
php artisan migrate
```

Usage
-----

[](#usage)

1. add the PacktAuthTrait to your User Model
2. Update your .env file to include:
    AZURE\_REDIRECT\_URI=
    AZURE\_CLIENT\_ID=
    AZURE\_CLIENT\_SECRET=
3. Add `@include('packt-auth::auth.azure')` to your login form
4. You can override the default redirect by defining `$authRedirect` in your User model

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 70% 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 ~210 days

Total

4

Last Release

1301d ago

Major Versions

0.1.0 → 1.0.02021-02-01

1.0.1 → 2.0.02022-10-25

### Community

Maintainers

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

---

Top Contributors

[![CNSam](https://avatars.githubusercontent.com/u/983172?v=4)](https://github.com/CNSam "CNSam (14 commits)")[![AStevensTaylor](https://avatars.githubusercontent.com/u/1410338?v=4)](https://github.com/AStevensTaylor "AStevensTaylor (4 commits)")[![surfthakur](https://avatars.githubusercontent.com/u/52658761?v=4)](https://github.com/surfthakur "surfthakur (2 commits)")

---

Tags

packtpackt-auth

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/packtdev-packt-auth/health.svg)

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

###  Alternatives

[dutchcodingcompany/filament-socialite

Social login for Filament through Laravel Socialite

213914.9k9](/packages/dutchcodingcompany-filament-socialite)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[tonysm/rich-text-laravel

Integrates Trix content with Laravel

46577.8k1](/packages/tonysm-rich-text-laravel)[djurovicigoor/lara-files

Lara-files is a package which will make it easier to work with files. Package has built-in support for DigitalOcean spaces and Amazon S3.

1196.5k](/packages/djurovicigoor-lara-files)[giacomomasseron/laravel-models-generator

Generate Laravel models from an existing database

484.2k](/packages/giacomomasseron-laravel-models-generator)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

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