PHPackages                             frente-patria-grande/ah-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. frente-patria-grande/ah-auth

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

frente-patria-grande/ah-auth
============================

Oauth setup for ArgentinaHumana login

0.6(2mo ago)099MITPHPPHP ^8.3

Since Aug 29Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Frente-Patria-Grande/ah-auth)[ Packagist](https://packagist.org/packages/frente-patria-grande/ah-auth)[ Docs](https://github.com/frente-patria-grande/ah-auth)[ RSS](/packages/frente-patria-grande-ah-auth/feed)WikiDiscussions main Synced today

READMEChangelog (6)Dependencies (26)Versions (7)Used By (0)

Oauth setup for ArgentinaHumana login
=====================================

[](#oauth-setup-for-argentinahumana-login)

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

[](#installation)

You can install the package via composer:

```
composer require frente-patria-grande/ah-auth
```

You need to open the `config/services.php` file and add the following service

```
//...
'argentina-humana' => [
    'base_url' => rtrim(env('ARGENTINA_HUMANA_BASE_URL', 'https://cuenta.argentinahumana.com.ar'), '/'),
    'client_id' => env('ARGENTINA_HUMANA_CLIENT_ID'),
    'client_secret' => env('ARGENTINA_HUMANA_CLIENT_SECRET'),
    'redirect' => env('ARGENTINA_HUMANA_CALLBACK_URL'),
],
//...
```

Then add the following trait to your user model

```
use FrentePatriaGrande\AHAuth\Traits\HasSocialiteAuth;

class User ... {
    use HasSocialiteAuth;
}
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="ah-auth-migrations"
php artisan migrate
```

Usage
-----

[](#usage)

```
// Redirect to login
Socialite::driver('argentina-humana')->redirect();

// Login callback
/** @var \Laravel\Socialite\Two\User $socialiteUser */
$socialiteUser = Socialite::driver('argentina-humana')->user();
// $socialiteUser->email;
// $socialiteUser->token;
// $socialiteUser->refreshToken;
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Frente Patria Grande](https://github.com/Frente-Patria-Grande)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance86

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~121 days

Recently: every ~151 days

Total

6

Last Release

67d ago

PHP version history (2 changes)0.2PHP ^8.2

0.6PHP ^8.3

### Community

Maintainers

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

---

Top Contributors

[![litvinjuan](https://avatars.githubusercontent.com/u/42967171?v=4)](https://github.com/litvinjuan "litvinjuan (9 commits)")

---

Tags

laravelFrente Patria Grandeah-auth

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/frente-patria-grande-ah-auth/health.svg)

```
[![Health](https://phpackages.com/badges/frente-patria-grande-ah-auth/health.svg)](https://phpackages.com/packages/frente-patria-grande-ah-auth)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M101](/packages/dedoc-scramble)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[dutchcodingcompany/filament-socialite

Social login for Filament through Laravel Socialite

2191.1M10](/packages/dutchcodingcompany-filament-socialite)

PHPackages © 2026

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