PHPackages                             bymega/login-with-id - 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. bymega/login-with-id

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

bymega/login-with-id
====================

Provides automatic login with user id

02PHP

Since Jan 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/tahsingungordu/login-with-id)[ Packagist](https://packagist.org/packages/bymega/login-with-id)[ RSS](/packages/bymega-login-with-id/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

login-with-id
=============

[](#login-with-id)

It creates automatic login link with user id for laravel.

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

[](#installation)

### Laravel

[](#laravel)

Require this package in your composer.json and update composer.

```
composer require bymega/login-with-id

```

Configuration
-------------

[](#configuration)

The defaults are set in `config/loginwithid.php`. Publish the config to copy the file to your own config:

```
php artisan vendor:publish --provider="Bymega\LoginWithId\LoginWithIdServiceProvider"

```

### Options

[](#options)

OptionDescriptionDefault valueuser\_modelModel Class to be used for Auth.`\App\Models\User::class`hashPassword to be used for encrypt.`test123pass`redirect\_routeThe URL to be redirected after login`/home`Using
-----

[](#using)

```
http://localhost/with-login/{userId}/{hash}

```

Values:

- **{userId}** : ID of the user you want to log in
- **{hash}** : paswword in the config file where you wrote the hash (Default test123pass)

Example:

```
http://localhost/with-login/1/test123pass

```

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

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/bd961ffb68a2d70ce3283c00103ae08867aa8c56b5c7420e68a22e02cc9f4a1d?d=identicon)[bymega](/maintainers/bymega)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/bymega-login-with-id/health.svg)

```
[![Health](https://phpackages.com/badges/bymega-login-with-id/health.svg)](https://phpackages.com/packages/bymega-login-with-id)
```

###  Alternatives

[vitalybaev/laravel5-dkim

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

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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