PHPackages                             properos/laravel-users - 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. properos/laravel-users

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

properos/laravel-users
======================

Users package

v1.0.1(3y ago)068MITPHP

Since Jun 1Pushed 3y ago3 watchersCompare

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

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

Properos Users
--------------

[](#properos-users)

CRUD package.

**Required properos/properos-base package****Required laravel/socialite package if want to auth with social accounts**Configuration =&gt;

**Added on config/services.php**

```
    'facebook' => [
        'client_id' => env('FACEBOOK_CLIENT_ID', '147107342556627'),
        'client_secret' => env('FACEBOOK_CLIENT_SECRET', 'eda29465e6a4a98b5f89a1c2a3829f14'),
        'redirect' => env('FACEBOOK_CALLBACK','http://properos.com/auth/facebook/callback')
    ],

    'google' => [
        'client_id' => env('GOOGLE_CLIENT_ID', '200207622942-nadc5euejp1fb7jj1m13fdhu30ot4icc.apps.googleusercontent.com'),
        'client_secret' => env('GOGOLE_CLIENT_SECRET', 'uhIvqdMkWVD43Lw9EvvsMfQf'),
        'redirect' => env('GOOGLE_CALLBACK','http://properos.com/auth/google/callback')

    ]
```

**Added on config/app.php**

```
    Laravel\Socialite\SocialiteServiceProvider::class,
```

**Modify config/database.php**

```
    'mysql' => [
        'driver' => 'mysql',
        'host' => env('DB_HOST', '127.0.0.1'),
        'port' => env('DB_PORT', '3306'),
        'database' => env('DB_DATABASE', 'forge'),
        'username' => env('DB_USERNAME', 'forge'),
        'password' => env('DB_PASSWORD', ''),
        'unix_socket' => env('DB_SOCKET', ''),
        'charset' => 'utf8',
        'collation' => 'utf8_general_ci',
        'prefix' => '',
        'strict' => true,
        'engine' => 'Innodb',
    ],
```

**Register middleware app/Http/Kernel.php**

```
    'role' => \Properos\Users\Middlewares\RoleMiddleware::class,
    'permission' => \Properos\Users\Middlewares\PermissionMiddleware::class,
    'role_or_permission' => \Properos\Users\Middlewares\RoleOrPermissionMiddleware::class,
```

**Required moment.js**npm install moment

**Run**composer dump php artisan vendor:publish Note: Publish resources and all files you need to modifie.

**Add on webpack.mix.js**.js('resources/assets/js/be/modules/users/js/user.js', 'public/be/js/modules/user.js')

**Add on resources/assets/bootstrap.js if not exist**

```
    import Helpers from './misc/helpers'

    window.moment = require('moment')
    window.Vue = require('vue');
    window.Helpers = Helpers;
```

**config/properos\_users.php file**Set the middleware for the routes.

**How to use a Model**\\Properos\\Users\\Models\\Model-Name

**Modify config/auth.php**

```
    ...
    'guards' => [
        'web' => [
            'driver' => 'session',
            'provider' => 'users',
        ],

        'api' => [
            'driver' => 'sanctum',
            'provider' => 'users'
        ],
    ],
    ...
```

```
    ...
    'providers' => [
        'users' => [
            'driver' => 'eloquent',
            'model' => \Properos\Users\Models\User::class,
        ],
    ],
    ...
```

**Run migrations**php artisan migrate create users table user\_addresses table user\_profiles table modify roles table

**Add seeder on database/seeds/DatabaseSeeder.php**

```
    Set all roles on RolesPermissionsTableSeeder and users on UsersTableSeeder
    $this->call(RolesPermissionsTableSeeder::class);
    $this->call(UsersTableSeeder::class);
```

Run composer dump-autoload php artisan db:seed npm run watch

**Add on routes/web.php**

```
    Route::get('/admin/dashboard', function(){
        return view('be.index');
    })->middleware(['auth', 'role:admin']);
```

**Add .env**

\########################################################################

LARAVEL MIX
===========

[](#laravel-mix)

\########################################################################

MIX\_PUSHER\_APP\_KEY="${PUSHER\_APP\_KEY}" MIX\_PUSHER\_APP\_CLUSTER="${PUSHER\_APP\_CLUSTER}"

MIX\_HOST="${DOMAIN}" MIX\_API\_BASE\_URL= MIX\_CDN\_URL=

MIX\_ADMIN\_WEB\_PREFIX='/admin' MIX\_ADMIN\_WEB\_API\_PREFIX='/api/admin'

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

Every ~0 days

Total

2

Last Release

1440d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6c4369392b367c14bcd195185641dda7868b05f1401b6bfb8d31aaef366ba043?d=identicon)[properos](/maintainers/properos)

---

Top Contributors

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

---

Tags

laravelUsersproperos

### Embed Badge

![Health badge](/badges/properos-laravel-users/health.svg)

```
[![Health](https://phpackages.com/badges/properos-laravel-users/health.svg)](https://phpackages.com/packages/properos-laravel-users)
```

###  Alternatives

[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6712.1k2](/packages/hasinhayder-tyro)[tomatophp/filament-users

Manage your users with a highly customizable user resource for FilamentPHP with integration of filament-shield and filament-impersonate

90102.0k7](/packages/tomatophp-filament-users)[arcanedev/laravel-auth

Laravel Authorization package.

294.8k1](/packages/arcanedev-laravel-auth)

PHPackages © 2026

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