PHPackages                             ibrah3m/loginwithmetamsk - 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. ibrah3m/loginwithmetamsk

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

ibrah3m/loginwithmetamsk
========================

this package build to insert login with metamask option just by adding 1 line in your blade :)

7173PHP

Since Apr 7Pushed 3y ago2 watchersCompare

[ Source](https://github.com/ibrah3m/LoginWithMetamask)[ Packagist](https://packagist.org/packages/ibrah3m/loginwithmetamsk)[ RSS](/packages/ibrah3m-loginwithmetamsk/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

LoginWithMetamask
=================

[](#loginwithmetamask)

[![Open in Gitpod](https://camo.githubusercontent.com/6a4edb76a7e92e0faad09a11e42cba7c39803ee6723f8cb1b801f91113d59695/68747470733a2f2f676974706f642e696f2f627574746f6e2f6f70656e2d696e2d676974706f642e737667)](https://gitpod.io/#https://github.com/ibrah3m/demo-login-with-metamask)[![Contributors](https://camo.githubusercontent.com/b9a1885a3b784563a0697acc4a9ef231ff63d0bf0ee2c7220b3d63cd5390aeaf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f6962726168336d2f4c6f67696e576974684d6574616d61736b2e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/ibrah3m/LoginWithMetamask/graphs/contributors)[![Forks](https://camo.githubusercontent.com/1ff8d81989469d197d2a6e6bd3ec3ba85df730b53078fe1e9fad83868f0cc4de/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6962726168336d2f4c6f67696e576974684d6574616d61736b2e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/ibrah3m/LoginWithMetamask/network/members)[![Stargazers](https://camo.githubusercontent.com/13b641a8e8d9508617e93eddf48827cb4cf14748cfff8766bd8a1db99d5c96ae/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6962726168336d2f4c6f67696e576974684d6574616d61736b2e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/ibrah3m/LoginWithMetamask/stargazers)[![Issues](https://camo.githubusercontent.com/c13ae8a3f261c3dcff88225f46797fb7a68faac38eec87c1739563925afcd631/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6962726168336d2f4c6f67696e576974684d6574616d61736b2e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/ibrah3m/LoginWithMetamask/issues)[![MIT License](https://camo.githubusercontent.com/cda096ee7f54f6bf7f2a889451a92d1b595168194680f55a2d69dbf6b1db126c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6962726168336d2f4c6f67696e576974684d6574616d61736b3f636f6c6f723d66267374796c653d666f722d7468652d6261646765)](https://github.com/ibrah3m/LoginWithMetamask/blob/master/LICENSE)[![LinkedIn](https://camo.githubusercontent.com/d52963778220cbec61d6ed72270f9735024ffceeb551e5c3933d4e03b4694cf1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4c696e6b6564496e2d626c61636b2e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d6c696e6b6564696e26636f6c6f72423d353535)](https://www.linkedin.com/in/iqald/)

 [ ![Logo](/src/image/svg/metamask-fox.svg) ](https://github.com/ibrah3m/demo-login-with-metamask)### LOGIN-WITH-METAMASK

[](#login-with-metamask)

 An awesome laravel package made for adding login with MetaMask wallet option in your projects!

 [View Demo](https://gitpod.io/#https://github.com/ibrah3m/demo-login-with-metamask) · [Report Bug](https://github.com/ibrah3m/demo-login-with-metamask/issues) · [Request Feature](https://github.com/ibrah3m/demo-login-with-metamask)

 Table of Contents1. [About The Project](#about-the-project)
    - [Built With](#built-with)
2. [Getting Started](#getting-started)
    - [Prerequisites](#prerequisites)
    - [Installation](#installation)
3. [Usage](#usage)
4. [Roadmap](#roadmap)
5. [Contributing](#contributing)
6. [License](#license)
7. [Contact](#contact)
8. [Acknowledgments](#acknowledgments)

About The Project
-----------------

[](#about-the-project)

[![Product Name Screen Shot](/src/image/svg/examples/login.png)](https://www.toptal.com/ethereum/one-click-login-flows-a-metamask-tutorial)

There are many great LOGIN packages available on GitHub. However, I didn't find one that really suited my needs in LARAVEL, so I created this enhanced one. I want to create a package for login with MetaMask so unique that it'll be the last one you ever need - I think this is it.

Here's why:

- Your time should be focused on creating something amazing. A project that solves a problem and helps others
- You shouldn't be doing the same tasks over and over like creating a Login page from scratch
- You should implement DRY principles to the rest of your life 😄

Of course, no one package will serve all projects since your needs may be different but what makes this package unique is the simplicity of the installation by adding just the script link to your blade as explaind below . So I'll be adding more in the near future. You may also suggest changes by forking this repo and creating a pull request or opening an issue. Thanks to all the people have contributed to expanding this package!

Read the rest to get started

([back to top](#top))

### Built With

[](#built-with)

Frameworks/libraries used to bootstrap your package.

- [Laravel](https://laravel.com)
- [Bootstrap](https://getbootstrap.com)
- [JQuery](https://jquery.com)
- [Ethers](https://ethers.io)

([back to top](#top))

Getting Started
---------------

[](#getting-started)

In the few come lines, we will give you instructions about how to set up this repo inside your project so let's follow and enjoy this installation trip.

### Prerequisites

[](#prerequisites)

First in order to install this package inside your laravel project , so to do that we prefere using composer as explained below .

- composer ```
    composer require ibrah3m/loginwithmetamsk
    ```

### Installation

[](#installation)

\_Below is an explanation of how you should install and set up the package inside your app.

1. add the package provider ```
     At config/app.php put this line inside providers array
     Ibrah3m\LoginWithMetamsk\MetamaskServiceProvider::class,
    ```
2. run the following in the command line ```
    php artisan vendor:publish
    ```

    you will see a list of options select the below or 0 for all ```
    Tag: public
    ```

([back to top](#top))

Usage
-----

[](#usage)

Here we go almost finsih , now you can use the package in different ways let's see each of them .

1. by route

```
  just visit the link below
  http://www.example.com/CustomLoginPage
```

2. by javascript plugin

```
  inside your  tag at  login blade just put the following links to make the template render automatically

```

3. adding just the login button instead of the whole template

```
  *find the package at vendor folder called  "ibrah3m"
  *inside the views folder go to file
  "FrontJsHook.blade.php" comment line 12  "$("body").append(`@include('loginwithmetamsk::MetaMaskLoginTemplate')`);"
  *now inside your login blade add login button by this line
  MetaMask
  *In the end your blade will contain all of the  below

  MetaMask
```

*For more examples, please refer to the [Documentation](https://example.com)*

([back to top](#top))

Roadmap
-------

[](#roadmap)

- Change Template Design

See the [open issues](https://github.com/ibrah3m/LoginWithMetamask/issues) for a full list of proposed features (and known issues).

([back to top](#top))

Contributing
------------

[](#contributing)

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

([back to top](#top))

License
-------

[](#license)

Distributed under the MIT License. See `LICENSE.txt` for more information.

([back to top](#top))

Contact
-------

[](#contact)

Ibrahem Aljabr - [@website](https://ibrahem.org)

Project Link:

([back to top](#top))

Acknowledgments
---------------

[](#acknowledgments)

- [The package build according to this Article!](https://www.toptal.com/ethereum/one-click-login-flows-a-metamask-tutorial)

([back to top](#top))

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity29

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://avatars.githubusercontent.com/u/91458548?v=4)[ibrah3m](/maintainers/ibrah3m)[@ibrah3m](https://github.com/ibrah3m)

---

Top Contributors

[![ibrah3m](https://avatars.githubusercontent.com/u/91458548?v=4)](https://github.com/ibrah3m "ibrah3m (79 commits)")

---

Tags

ethersjslaravelmetamaskphp

### Embed Badge

![Health badge](/badges/ibrah3m-loginwithmetamsk/health.svg)

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

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