PHPackages                             willvrd/vuser-module - 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. willvrd/vuser-module

ActiveVgreen-module

willvrd/vuser-module
====================

Vuser Module - VGreen Application

01PHP

Since Sep 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/willvrd/Vuser)[ Packagist](https://packagist.org/packages/willvrd/vuser-module)[ RSS](/packages/willvrd-vuser-module/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

VGreen Application - Vuser Module
=================================

[](#vgreen-application---vuser-module)

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

[](#installation)

```
composer require willvrd/vuser-module
```

Steps
-----

[](#steps)

```
1. Run authentication:

```

```
php artisan ui vue --auth
```

```
2. Run Migrations

```

```
php artisan migrate
```

```
3. Install Laravel Passport

```

```
php artisan passport:install
```

```
4. Go to config/auth.php
    - Set the driver option of the api authentication guard to passport
    - Change the model from provider to: Modules\Vuser\Entities\User::class,

5. Add the service provider in your config/app.php file:

```

```
'providers' => [
// ...
Spatie\Permission\PermissionServiceProvider::class,
];
```

```
6. Publish the migration and the config/permission.php config file

```

```
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
```

```
7. Go to config/permission.php
    - Change 'model_has_permissions' => 'user_has_permissions',
    - Change 'model_has_roles' => 'user_has_roles',
    - Change 'model_morph_key' => 'user_id',

8. Run Migrations

```

```
php artisan migrate
```

```
9. Run this command:

```

```
php artisan user:role-permission:init
```

Assets Module
-------------

[](#assets-module)

```
1. cd Modules/Vuser
2. npm install
3. npm run dev
4. In your view add:

```

```
@section('scripts-modules')

@stop
```

End Points
----------

[](#end-points)

Route Base: `https://yourhost.com/api/user/v1/`

- #### User

    [](#user)
- #### Auth

    [](#auth)
- #### Role

    [](#role)
- #### Permission

    [](#permission)

Backend
-------

[](#backend)

```
### Pages

    Index:  http://mysite/en/backend/user/users
    name:   locale.admin.user.users.index

    Index:  http://mysite/en/backend/user/roles
    name:   locale.admin.user.roles.index

```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

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/8865099?v=4)[William Verde](/maintainers/willvrd)[@willvrd](https://github.com/willvrd)

---

Top Contributors

[![willvrd](https://avatars.githubusercontent.com/u/8865099?v=4)](https://github.com/willvrd "willvrd (2 commits)")

### Embed Badge

![Health badge](/badges/willvrd-vuser-module/health.svg)

```
[![Health](https://phpackages.com/badges/willvrd-vuser-module/health.svg)](https://phpackages.com/packages/willvrd-vuser-module)
```

PHPackages © 2026

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