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 1mo ago

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

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

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

[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)
