PHPackages                             hyvor/laravel-hyvor-connecter - 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. hyvor/laravel-hyvor-connecter

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

hyvor/laravel-hyvor-connecter
=============================

Connecting Hyvor applications to Hyvor auth

1.1.7(3y ago)1297PHP

Since May 5Pushed 3y agoCompare

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

READMEChangelog (10)Dependencies (3)Versions (12)Used By (0)

Docs
====

[](#docs)

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

[](#installation)

```
composer require hyvor/laravel-hyvor-connecter

```

Config
------

[](#config)

Add these to the `.env`

- `HYVOR_URL` - URL of Hyvor. This is internal IP in production. In testing, you may use the local URL.
- `HYVOR_API_KEY` - API Key.
- `HYVOR_DUMMY` - Set this to `true` in development so that dummy data will be return. Therefore, you don't need to have the auth set up and running to test the other application. Login check will always be true when using this.

Hyvor User Object
-----------------

[](#hyvor-user-object)

The properties of the `HyvorUser` object, which is returned in endpoints.

```
public int $id;
public string $username;
public string $name;
public string $email;
public ?string $picture_url;
public ?string $location;
public ?string $bio;
public ?string $website_url;
```

Checking Login
--------------

[](#checking-login)

```
use Hyvor\HyvorConnecter\Login;

$user = Login::check(); // null | HyvorUser
```

Getting User Data
-----------------

[](#getting-user-data)

```
use Hyvor\HyvorConnecter\Userbase;

// get one from ID (email is not set in the HyvorUser object)
Userbase::fromId($id);

// get one from ID with email
Userbase::fromId($id, true);

// get multiple from ID
Userbase::fromIds([$id1, $id2, ...], bool $email);

Userbase::fromUsername();
Userbase::fromUsernames();
Userbase::fromEmail();
Userbase::fromEmails();
```

Redirecting to Auth
-------------------

[](#redirecting-to-auth)

Return URL will be added automatically so that the user will come back to the page specified after logging in or signing up.

```
use Hyvor\HyvorConnecter\Redirect;

Redirect::to('account');
Redirect::toLogin();
Redirect::toSignup();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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 ~25 days

Recently: every ~40 days

Total

11

Last Release

1217d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/53796347?v=4)[HYVOR](/maintainers/HYVOR)[@hyvor](https://github.com/hyvor)

---

Top Contributors

[![supun-io](https://avatars.githubusercontent.com/u/44988673?v=4)](https://github.com/supun-io "supun-io (19 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/hyvor-laravel-hyvor-connecter/health.svg)

```
[![Health](https://phpackages.com/badges/hyvor-laravel-hyvor-connecter/health.svg)](https://phpackages.com/packages/hyvor-laravel-hyvor-connecter)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[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)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

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

PHPackages © 2026

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