PHPackages                             iamxid/iamx-wallet-pro - 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. iamxid/iamx-wallet-pro

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

iamxid/iamx-wallet-pro
======================

This package allows users to use the IAMX wallet to authenticate into a laravel project and sign, verify, encrypt and decrypt data using the IAMX identity wallet.

00PHP

Since Mar 22Pushed 2y ago2 watchersCompare

[ Source](https://github.com/IAMXID/iamx-wallet-pro)[ Packagist](https://packagist.org/packages/iamxid/iamx-wallet-pro)[ RSS](/packages/iamxid-iamx-wallet-pro/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

iamx-wallet-pro
===============

[](#iamx-wallet-pro)

IAMX wallet pro is a Laravel package to login to a laravel application using the IAMX identity wallet and sign, verify, encrypt and decrypt data using the IAMX identity wallet.

- [IAMX-wallet-pro](#iamx-wallet-pro)
    - [Installation](#Installation)
    - [Configuration](#Configuration)
    - [Usage](#Usage)
    - [Bugs, Suggestions, Contributions and Support](#bugs-and-suggestions)
    - [Copyright and License](#copyright-and-license)

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

[](#installation)

Install the current version of the `iamxid/iamx-wallet-pro` package via composer:

```
    composer require iamxid/iamx-wallet-pro:dev-main
```

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

[](#configuration)

Publish the migration file:

```
    php artisan vendor:publish --provider="IAMXID\IamxWalletPro\IamxWalletProServiceProvider" --tag="migrations"
```

Run the migration:

```
    php artisan migrate
```

Add the scope to the .env file. Example:

```
IAMX_IDENTITY_SCOPE={"did":"","person":{},"vUID":{},"address":{},"email":{},"mobilephone":{}}

```

Add the redirect URL to the .env file. Example:

```
IAMX_IDENTITY_CONNECT_REDIRECT_URL="/page_to_load_after_login"

```

Usage
-----

[](#usage)

Add the attribute "iamx\_vuid" to the $fillable array in /app/Models/User.php

```
    protected $fillable = [
        'name',
        'email',
        'password',
        'iamx_vuid'
    ];
```

Add the HasDID trait to the user model in /app/Models/User.php

```
use IAMXID\IamxWalletPro\Traits\HasDID;

class User extends Model
{
    use HasDID;
    ...
}
```

Place the component `` in your blade template to insert the wallet connect snippet.

Place the component `` in your blade template to insert the sign data snippet.

Place the component `` in your blade template to insert the verify data snippet.

Place the component `` in your blade template to insert the encrypt data snippet.

Place the component `` in your blade template to insert the decrypt data snippet.

Style the connect button and the container in your css file using the classes `btn-identity-connect`and `container-identity-connect`.

Style the sign data button, the container and the input fields in your css file using the classes `btn-identity-signData`, `container-identity-signData` and `input-label-signData`.

Style the verify data button, the container and the input fields in your css file using the classes `btn-identity-verifyData`, `container-identity-verifyData` and `input-label-verifyData`.

Style the encrypt data button, the container and the input fields in your css file using the classes `btn-identity-encryptData`, `container-identity-encryptData` and `input-label-encryptData`.

Style the decrypt data button, the container and the input fields in your css file using the classes `btn-identity-decryptData`, `container-identity-decryptData` and `input-label-decryptData`.

```
@tailwind base;
@tailwind components;

.container-identity-connect {
    @apply m-5
}

.container-identity-signData {
    @apply m-5 p-2 border-2 border-black
}

.container-identity-verifyData {
    @apply m-5 p-2 border-2 border-black
}

.container-identity-encryptData {
    @apply m-5 p-2 border-2 border-black
}
.container-identity-decryptData {
    @apply m-5 p-2 border-2 border-black
}

.btn-identity-connect {
    @apply bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded
}

.btn-identity-signData {
    @apply bg-green-500 hover:bg-green-700 text-white font-bold py-2 px-4 rounded mt-1
}

.btn-identity-verifyData {
    @apply bg-emerald-500 hover:bg-emerald-700 text-white font-bold py-2 px-4 rounded mt-1
}

.btn-identity-encryptData {
    @apply bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded mt-1
}

.btn-identity-decryptData {
    @apply bg-orange-500 hover:bg-orange-700 text-white font-bold py-2 px-4 rounded mt-1
}

.input-verifyData {
    @apply bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500
}

.input-label-verifyData {
    @apply block mb-2 text-sm font-medium text-gray-900 dark:text-white
}

.input-signData {
    @apply bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500
}

.input-label-signData {
    @apply block mb-2 text-sm font-medium text-gray-900 dark:text-white
}

.input-encryptData {
    @apply bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500
}

.input-label-encryptData {
    @apply block mb-2 text-sm font-medium text-gray-900 dark:text-white
}

.input-decryptData {
    @apply bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500
}

.input-label-decryptData {
    @apply block mb-2 text-sm font-medium text-gray-900 dark:text-white
}

@tailwind utilities;

```

Examples
--------

[](#examples)

Use the functions in the HasDID trait in your application to access the IAMX wallet attributes:

Fetch single attributes:

```
$user = User::find(1);
$street = $user->getDIDAttribute('address', 'street', $user->id);
$housenr = $user->getDIDAttribute('address', 'housenr', $user->id);
$zip = $user->getDIDAttribute('address', 'zip', $user->id);
```

Fetch all attributes of a category:

```
$user = User::find(1);
$allCategoryValues = $user->getDIDCategoryValues('address', $user->id);
```

Fetch all available attributes:

```
$user = User::find(1);
$allValues = $user->getAllDIDValues($user->id);
```

Bugs and Suggestions
--------------------

[](#bugs-and-suggestions)

Copyright and License
---------------------

[](#copyright-and-license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community8

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/58e831f4d9b98ca3b61cd1c48a275d991fd67ec09db753777249a36e04383311?d=identicon)[Maetti79](/maintainers/Maetti79)

---

Top Contributors

[![cardano-blockhouse](https://avatars.githubusercontent.com/u/90690011?v=4)](https://github.com/cardano-blockhouse "cardano-blockhouse (6 commits)")

### Embed Badge

![Health badge](/badges/iamxid-iamx-wallet-pro/health.svg)

```
[![Health](https://phpackages.com/badges/iamxid-iamx-wallet-pro/health.svg)](https://phpackages.com/packages/iamxid-iamx-wallet-pro)
```

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