PHPackages                             vilija19/web3login - 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. vilija19/web3login

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

vilija19/web3login
==================

v1.0.0(3y ago)4222MITPHP

Since Jul 31Pushed 3y ago1 watchersCompare

[ Source](https://github.com/vilija19/web3login)[ Packagist](https://packagist.org/packages/vilija19/web3login)[ RSS](/packages/vilija19-web3login/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

web3login
=========

[](#web3login)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d78adf09df76115473cebca38d685dfd93446eb26985ba7ad82a33048943d0ce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76696c696a6131392f776562336c6f67696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vilija19/web3login)[![Total Downloads](https://camo.githubusercontent.com/552ec6d460d7befb3b7c355ff18755dd2c52722142ec7f91765d325981187c58/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76696c696a6131392f776562336c6f67696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vilija19/web3login)

Laravel package for login user by Crypto Wallet (Metamask)
Based on this [article](https://medium.com/geekculture/laravel-authentication-using-web3-15d0fb030a48).

Description
-----------

[](#description)

The main goal of this package is to simplify user login and use Web3 approach for authentification.
I see two scenarios for authentification.

- First (done in this package)
    Any user can login by CryptoWallet. The first login assumes registration a new user. After user can edit his profile if he wants (Complete name,email etc).
- Second
    More strict. At first, user must do usual registration and provides Ethereum address to his profile.
    In next logins, he will be able login by CryptoWallet

This behaviour is determined in the config file (strict\_mode).

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

[](#installation)

You can install the package via composer:

```
composer require vilija19/web3login
```

This packege will install laravel/breeze if it not intalled yet for basic user authentification.
If breeze was not installed before you should do [some actions](https://laravel.com/docs/8.x/starter-kits#laravel-breeze-installation) to finish install it:

```
php artisan breeze:install

npm install
npm run dev (npm run watch-poll)

```

If `npm run dev` is not works properly (login page has broken styles) try `npm run watch-poll`

Next install Web3:

```
npm install web3

```

In file **resources/js/app.js** add this:

```
import Web3 from 'web3/dist/web3.min.js'
window.Web3 = Web3;

```

Compile it by `npm run dev` or `npm run watch-poll`

Usage
-----

[](#usage)

In file **resources/views/auth/login.blade.php** add this after `` tag:

```

        Login with MetaMask

```

License
-------

[](#license)

The MIT License (MIT).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

1379d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a588a3b75ff204211cb6c97d14464340a196ad08a926f816557842a5d4508a60?d=identicon)[vilija19](/maintainers/vilija19)

---

Top Contributors

[![vilija19](https://avatars.githubusercontent.com/u/60488526?v=4)](https://github.com/vilija19 "vilija19 (8 commits)")

---

Tags

laravelweb3

### Embed Badge

![Health badge](/badges/vilija19-web3login/health.svg)

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

###  Alternatives

[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)[jakyeru/larascord

Larascord is a package that allows you to authenticate users in your Laravel application using Discord.

6913.4k](/packages/jakyeru-larascord)[openeuropa/oe_authentication

Authentication against the OpenEuropa Authentication service.

17314.8k2](/packages/openeuropa-oe-authentication)

PHPackages © 2026

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