PHPackages                             taskforcedev/user - 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. taskforcedev/user

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

taskforcedev/user
=================

A laravel package providing routes, controller and views for user login/register, etc.

v5.0.2(10y ago)1263[1 issues](https://github.com/taskforcedev/user/issues)PHPPHP &gt;=5.5.0

Since Mar 25Pushed 9y agoCompare

[ Source](https://github.com/taskforcedev/user)[ Packagist](https://packagist.org/packages/taskforcedev/user)[ RSS](/packages/taskforcedev-user/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

User Package
============

[](#user-package)

A package for Laravel 5 (4 branch also available) which provides routes, views and controllers for authentication including register, login, logout and home.

[![Travis Build](https://camo.githubusercontent.com/d3f2b37fb34c0a3c492f61e6d64b18cc56bd655cc67b48e99a9344abb2521310/68747470733a2f2f7472617669732d63692e6f72672f7461736b666f7263656465762f757365722e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/d3f2b37fb34c0a3c492f61e6d64b18cc56bd655cc67b48e99a9344abb2521310/68747470733a2f2f7472617669732d63692e6f72672f7461736b666f7263656465762f757365722e7376673f6272616e63683d6d6173746572) [![Latest Stable Version](https://camo.githubusercontent.com/91f801b5e63fdf0760cf057fdc068eb6b61107445f70212a549c17cfd3771892/68747470733a2f2f706f7365722e707567782e6f72672f7461736b666f7263656465762f757365722f762f737461626c652e737667)](https://packagist.org/packages/taskforcedev/user) [![Total Downloads](https://camo.githubusercontent.com/b79647ffb4d69c585aad07e4d730af40e25d524981f442c495a8c523d09caf96/68747470733a2f2f706f7365722e707567782e6f72672f7461736b666f7263656465762f757365722f646f776e6c6f6164732e737667)](https://packagist.org/packages/taskforcedev/user) [![Latest Unstable Version](https://camo.githubusercontent.com/bdd323c0c47a78790e43b9394d105bc10e1a76ea721f156009f2d8a36d9a5ca6/68747470733a2f2f706f7365722e707567782e6f72672f7461736b666f7263656465762f757365722f762f756e737461626c652e737667)](https://packagist.org/packages/taskforcedev/user) [![License](https://camo.githubusercontent.com/0f94a39e2fe03993a03b97bb7367c55c773a2d6d6b8c8b8d7c84cd2661a61b4e/68747470733a2f2f706f7365722e707567782e6f72672f7461736b666f7263656465762f757365722f6c6963656e73652e737667)](https://packagist.org/packages/taskforcedev/user)

### About

[](#about)

A Laravel package providing routes, controller and views for user login/register, etc.

The package follows convention over configuration, examples of this are using the User model that ships with laravel, it is assumed you will create your own migrations etc for this.

What this package provides is an out-of-the-box authentication system built on top of the Laravel model.

Routes:

```
get   /login       shows the login form.
get   /register    shows the registration form.
post  /login       logs the user in.
post  /register    registers the user (creates their account).
get   /user        the default page once the user is logged in.
get   /logout      logs the user out (takes them to the login page).

```

### Installation

[](#installation)

To install the package add the following line to your composer.json

`"require": {    "taskforcedev/user": "5.*"}`After doing this you should run composer update, then a dump autoload preferably using artisan

`php artisan dump-autoload`

#### Service Provider

[](#service-provider)

After this you should add the following service provider to your config/app.php

`Taskforcedev\User\ServiceProvider::class,`

Also if not present please also add the following service provider.

`Taskforcedev\LaravelSupport\ServiceProvider::class,`

#### Overwriting Config

[](#overwriting-config)

The package comes with default config however you will likely wish to publish this and overwrite with your own config settings.

`php artisan vendor:publish --tag="user-config"`

### Common Problems

[](#common-problems)

#### Illuminate \\ Database \\ Eloquent \\ MassAssignmentException username

[](#illuminate--database--eloquent--massassignmentexception--username)

For this you need to add the following to your App/Models/User.php

`protected $fillable = ['username', 'password'];`

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 98.1% 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 ~88 days

Recently: every ~110 days

Total

6

Last Release

3629d ago

Major Versions

v4.0.0 → v5.0.02015-08-18

PHP version history (2 changes)4.x-devPHP &gt;=5.4.0

v5.0.0PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/37c8fe9528f3cf904d6cfa282050a60af3dc8c8ef24f1e0d4515a6c9316c2e75?d=identicon)[PrivateSniper](/maintainers/PrivateSniper)

![](https://www.gravatar.com/avatar/8be311486740384d90aa1785e9ae75bfc4eace24eb5922cacd0520927816ebc6?d=identicon)[taskforcedev](/maintainers/taskforcedev)

![](https://www.gravatar.com/avatar/67824c3c557abf0cb50a016dabacfc64c2af69b5cd765c2895445f21fb499ae0?d=identicon)[davidcraig](/maintainers/davidcraig)

---

Top Contributors

[![tfstudio](https://avatars.githubusercontent.com/u/14176168?v=4)](https://github.com/tfstudio "tfstudio (53 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

---

Tags

laravelroutesuserloginviews

### Embed Badge

![Health badge](/badges/taskforcedev-user/health.svg)

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

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[sarav/laravel-multiauth

A Simple Laravel Package for handling multiple authentication

5030.7k](/packages/sarav-laravel-multiauth)

PHPackages © 2026

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