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(3mo ago)0107MITPHPPHP ^8.3

Since Aug 29Pushed 3mo 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 1w ago

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

39

—

LowBetter than 84% of packages

Maintenance79

Regular maintenance activity

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

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

13.0k107.5M1.6k](/packages/spatie-laravel-permission)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3915.5k](/packages/rawilk-profile-filament-plugin)[spatie/laravel-passkeys

Use passkeys in your Laravel app

4721.0M48](/packages/spatie-laravel-passkeys)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

46273.9k](/packages/harris21-laravel-fuse)[vormkracht10/laravel-mails

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

25060.1k](/packages/vormkracht10-laravel-mails)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1614.1k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

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