PHPackages                             vibar/laravel-account - 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. vibar/laravel-account

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

vibar/laravel-account
=====================

Laravel account activation.

0.2(8y ago)321162MITPHP

Since Dec 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/vibar/laravel-account)[ Packagist](https://packagist.org/packages/vibar/laravel-account)[ RSS](/packages/vibar-laravel-account/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Laravel User Activation
=======================

[](#laravel-user-activation)

- Laravel 5.5 account verification (via e-mail confirmation) for new registers.
- Messages are available in english and portuguese (BR). See `resources/lang/vendor/account`

Install
-------

[](#install)

```
composer require vibar/laravel-account

```

Add service provider in `config/app.php`

```
Vibar\Account\AccountServiceProvider::class

```

Config
------

[](#config)

Add trait to `App\Http\Controllers\Auth\LoginController`

```
use Vibar\Account\Traits\ActiveLogin;

use AuthenticatesUsers, ActiveLogin {
    ActiveLogin::authenticated insteadof AuthenticatesUsers;
}

```

Add trait to `App\Http\Controllers\Auth\RegisterController`

```
use Vibar\Account\Traits\ActiveRegister;

use RegistersUsers, ActiveRegister {
    ActiveRegister::register insteadof RegistersUsers;
}

```

Add traits to `App\User`

```
use Illuminate\Notifications\Notifiable;
use Vibar\Account\Traits\Accountable;

class User extends Authenticatable
{
    use Notifiable, Accountable;
}

```

Publish package files

```
php artisan vendor:publish --provider="Vibar\Account\AccountServiceProvider"

```

Publish Laravel auth views

```
php artisan make:auth

```

Run migrations

```
php artisan migrate

```

Include activation status template on `resources/views/auth/login.blade.php`

```
@include('vendor.account.activation._status')

```

Update `.env`
-------------

[](#update-env)

Update `APP_URL`. This URL will be used for the activation link sent by email.

Use [Mailtrap](https://mailtrap.io/) to see the emails sent. Update `MAIL_USERNAME` and `MAIL_PASSWORD`

Screenshots
-----------

[](#screenshots)

[![Sign up](https://camo.githubusercontent.com/b4ee007f0f13ec32d72daf17e8f7d41dbfd3d516b6b063337054bedb4f6b1689/68747470733a2f2f692e696d6775722e636f6d2f453856714548782e706e67 "Sign up")](https://camo.githubusercontent.com/b4ee007f0f13ec32d72daf17e8f7d41dbfd3d516b6b063337054bedb4f6b1689/68747470733a2f2f692e696d6775722e636f6d2f453856714548782e706e67)

[![Login not available until activation](https://camo.githubusercontent.com/9b2a3f00d9faf7c67615051500aeebdc4b56d61df2961f221d4c8ab7e506224f/68747470733a2f2f692e696d6775722e636f6d2f6c33656e354c6c2e706e67 "Login not available until activation")](https://camo.githubusercontent.com/9b2a3f00d9faf7c67615051500aeebdc4b56d61df2961f221d4c8ab7e506224f/68747470733a2f2f692e696d6775722e636f6d2f6c33656e354c6c2e706e67)

[![Email with activation link](https://camo.githubusercontent.com/48f831a9746295513c5c711ea3ae13b443c498ad7cfffa6207b7b7e0b5359395/68747470733a2f2f692e696d6775722e636f6d2f396d36674349792e706e67 "Email with activation link")](https://camo.githubusercontent.com/48f831a9746295513c5c711ea3ae13b443c498ad7cfffa6207b7b7e0b5359395/68747470733a2f2f692e696d6775722e636f6d2f396d36674349792e706e67)

[![Account activated](https://camo.githubusercontent.com/62d8759b9355750ab329da85c0df486f47a792f7d617a6897fa17d8cdb2cc148/68747470733a2f2f692e696d6775722e636f6d2f726e39596a43472e706e67 "Account activated")](https://camo.githubusercontent.com/62d8759b9355750ab329da85c0df486f47a792f7d617a6897fa17d8cdb2cc148/68747470733a2f2f692e696d6775722e636f6d2f726e39596a43472e706e67)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

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 ~28 days

Total

2

Last Release

3037d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d1a2dba73cfa14488908acbaec48e1d96ab82067d9172b8f48949bcfe64bd2fb?d=identicon)[vitorbar](/maintainers/vitorbar)

---

Top Contributors

[![vibar](https://avatars.githubusercontent.com/u/5910783?v=4)](https://github.com/vibar "vibar (10 commits)")

---

Tags

accountsactivationlaravelusers

### Embed Badge

![Health badge](/badges/vibar-laravel-account/health.svg)

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

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