PHPackages                             genealabs/laravel-registrar - 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. genealabs/laravel-registrar

Abandoned → [illuminate/auth](/?search=illuminate%2Fauth)ArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

genealabs/laravel-registrar
===========================

User account activation via email confirmation for Laravel.

0.1.6(7y ago)94494MITPHPPHP &gt;=7.0.0

Since Sep 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/GeneaLabs/laravel-registrar)[ Packagist](https://packagist.org/packages/genealabs/laravel-registrar)[ RSS](/packages/genealabs-laravel-registrar/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (4)Versions (9)Used By (0)

This package is retired as of Laravel 5.7. Please use Laravel's Email Verification functionality:
=============================================================================================================================================

[](#this-package-is-retired-as-of-laravel-57-please-use-laravels-email-verification-functionality-httpslaravelcomdocs57verification)

Registrar for Laravel
=====================

[](#registrar-for-laravel)

[![Join the chat at https://gitter.im/GeneaLabs/laravel-registrar](https://camo.githubusercontent.com/5a7f259106a1fa19f8890332f8c2bb0102c4cfbda38c5eb0381c1de6fc12554c/68747470733a2f2f6261646765732e6769747465722e696d2f47656e65614c6162732f6c61726176656c2d7265676973747261722e737667)](https://gitter.im/GeneaLabs/laravel-registrar?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

User account activation via email confirmation for Laravel.

Features
--------

[](#features)

- Account activation through email verification.
- Blocks logins until account is activated.
- Uses Laravel Notifications to send out emails.

Reasoning
---------

[](#reasoning)

After having set up email activations on a few projects now, it became clear that this is something that is going to be used more often, warranting extraction to a package for easy reuse with minimal coding.

Requirements
------------

[](#requirements)

- PHP 7.0.0+
- Laravel 5.3

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

[](#installation)

Install the package using the following command:

```
composer require genealabs/laravel-registrar
```

Add the service provider to you app config file `/config/app.php`:

```
GeneaLabs\LaravelRegistrar\Providers\LaravelRegistrarService::class,
```

Add the following trait to your login controller `/app/Http/Controllers/Auth/LoginController.php`:

```
use GeneaLabs\LaravelRegistrar\Traits\ActivatesUsers;

//class LoginController extends Controller
//{
    use ActivatesUsers {
        ActivatesUsers::attemptLogin insteadof AuthenticatesUsers;
    }
```

And finally, add this trait to your User model:

```
use GeneaLabs\LaravelRegistrar\Traits\Activatable;

//class User
//{
 use Activatable;
```

Usage
-----

[](#usage)

Each time a new user is created, an activation token will be added to their record and an email activation notification sent out with a link that will activate their user account by removing the activation token and setting the activation timestamp. The user will then be able to log into their account.

### Conditional Activation Notices

[](#conditional-activation-notices)

To send out the notification email only when a certain condition is met, override the `getCanBeActivatedAttribute()` method in your `User` class. By default this method returns true, unless you override it.

```
public function getCanBeActivatedAttribute() : bool
{
    // return true or false based on your specific condition.
}
```

### Customization

[](#customization)

You can customize the notification email by implementing your own Notification class, then overriding the following method in your User class:

```
protected static function sendNotification()
{
    static::created(function ($user) {
        $user->notify(new MyOwnNotificationClass($user));
    });
}
```

To alter the notification template itself, follow the steps outlined in the Laravel documentation: .

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.9% 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 ~119 days

Recently: every ~175 days

Total

7

Last Release

2862d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4374bfc5d8583aa8c25c5080f1fcfaf09027822f47724ba6b64abc564945c80a?d=identicon)[mikebronner](/maintainers/mikebronner)

---

Top Contributors

[![mikebronner](https://avatars.githubusercontent.com/u/1791050?v=4)](https://github.com/mikebronner "mikebronner (31 commits)")[![gregoryduckworth](https://avatars.githubusercontent.com/u/2647926?v=4)](https://github.com/gregoryduckworth "gregoryduckworth (1 commits)")

### Embed Badge

![Health badge](/badges/genealabs-laravel-registrar/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M337](/packages/psalm-plugin-laravel)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M125](/packages/laravel-pulse)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k28.4M138](/packages/laravel-cashier)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M123](/packages/roots-acorn)[laravel/folio

Page based routing for Laravel.

603583.7k31](/packages/laravel-folio)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8465.5M96](/packages/laravel-doctrine-orm)

PHPackages © 2026

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