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 2w 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

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

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

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

[tg/tgwebvalid

An easy way to validate Telegram Login Widget and Telegram Mini App users on your website using PHP

6827.5k1](/packages/tg-tgwebvalid)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)[denniseilander/laravel-passport-scopes-restriction

Restrict scopes for different Laravel Passport clients.

1636.3k](/packages/denniseilander-laravel-passport-scopes-restriction)

PHPackages © 2026

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