PHPackages                             hofstaetter/eid - 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. hofstaetter/eid

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

hofstaetter/eid
===============

ID Austria (e-ID) OIDC Provider for Laravel Socialite

4629PHP

Since Feb 8Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

ID Austria (e-ID)
=================

[](#id-austria-e-id)

```
composer require hofstaetter/eid
```

Installation &amp; Basic Usage
------------------------------

[](#installation--basic-usage)

Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), then follow the provider specific instructions below.

### Add configuration to `config/services.php`

[](#add-configuration-to-configservicesphp)

```
'eid' => [
  'client_id' => env('EID_CLIENT_ID'),
  'client_secret' => env('EID_CLIENT_SECRET'),
  'redirect' => env('EID_REDIRECT_URI'),
  'endpoint' => env('EID_ENDPOINT', 'eid.oesterreich.gv.at'),
],
```

### Add provider event listener

[](#add-provider-event-listener)

Configure the package's listener to listen for `SocialiteWasCalled` events.

Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions.

```
protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        \Hofstaetter\Eid\EidExtendSocialite::class.'@handle',
    ],
];
```

### Usage

[](#usage)

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

```
return Socialite::driver('eid')->redirect();
```

Within your callback function:

```
public function callback(Request $request)
{
    $user = Socialite::driver('eid')->user();
    // handle user and app auth
}
```

### Returned User fields

[](#returned-user-fields)

- `id`
- `name`
- `email`

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5ecdfab6e8c0875db8721df883b9f3cf04c6519ca705c884cc27b2c6df13114?d=identicon)[hit-mb](/maintainers/hit-mb)

---

Top Contributors

[![alexanderhofstaetter](https://avatars.githubusercontent.com/u/6820505?v=4)](https://github.com/alexanderhofstaetter "alexanderhofstaetter (1 commits)")

### Embed Badge

![Health badge](/badges/hofstaetter-eid/health.svg)

```
[![Health](https://phpackages.com/badges/hofstaetter-eid/health.svg)](https://phpackages.com/packages/hofstaetter-eid)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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