New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

cerbero/auth

Laravel module to implement the authentication system into your applications.
200 48

Larablocks Analysis

cerbero/auth works with Laravel 5 (latest release 1.6.4, Dec 28, 2015), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Dec 28, 2015)
  • 0 downloads a month (needs 10,000)
  • 48 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Dec 28, 2015.
  • No releases in the last 12 months.
  • First released: Apr 29, 2015.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require cerbero/auth
Latest Version:1.6.4
PHP:>=5.3.0
Laravel:5
License:MIT
Last Updated:Dec 28, 2015
Links: GitHub  ·  Packagist
Maintainer: cerbero

Auth

Author Build Status Latest Version Software License Code Climate Quality Score Gratipay

SensioLabsInsight

Auth is a Laravel package to quickly implement the authentication system into your applications, avoiding you to reinvent the wheel every time you start a new project and letting you customize every single aspect of the process.

This package is intended to be a more customizable alternative to the authentication system shipped by Laravel out of the box and also includes some security features like honeypot and login throttling.

Features

List of features included in this package:

  • Login
  • Registration
  • Password reset
  • Logout
  • Full customization
  • CSRF protection
  • Honeypot trap
  • Login throttling
  • Event dispatching

Install

Run this command in your application root:

composer require cerbero/auth

Add the service provider to the providers list in config/app.php:

Cerbero\Auth\AuthServiceProvider::class,

Add the following route middleware in app/Http/Kernel.php:

'honeypot' => \Cerbero\Auth\Http\Middleware\Honeypot::class,

And then run these two commands in your terminal:

php artisan vendor:publish --provider="Cerbero\Auth\AuthServiceProvider”
php artisan migrate

Now you have the database migrated with the users table and can customize the behavior of the authentication system by editing the file config/_auth.php as well as modify/translate the messages in resources/lang/packages.

Finally, in order to display custom messages to the users, add the DisplaysExceptions trait to your exceptions handler:

use Cerbero\Auth\Exceptions\DisplaysExceptions;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;

class Handler extends ExceptionHandler {

	use DisplaysExceptions;

	public function render($request, Exception $e)
	{
		if($printable = $this->displayExceptions($e)) return $printable;

		return parent::render($request, $e);
	}

}

So now you can display the custom messages in your views:

@if ($error = session('error'))
	<div class="alert alert-danger">{{ $error }}</div>
@elseif ($success = session('success'))
	<div class="alert alert-success">{{ $success }}</div>
@endif

Events

All authentication processes are preceded and followed by events to provide an easy way to extend the package functionalities. The following list shows all the available events:

  • auth.login.start
  • auth.login.end
  • auth.logout.start
  • auth.logout.end
  • auth.register.start
  • auth.register.end
  • auth.recover.start
  • auth.recover.end
  • auth.reset.start
  • auth.reset.end

Alternatives to cerbero/auth

hasinhayder/tyro-login

Complete authentication kit for Laravel 12 & 13 — 10 premium layouts, social OAu...

15,836 252
nyoncode/wire-module-auth

The signed-out screens for wire: login, password reset, email verification and t...

2,675 0
brackets/admin-auth

Authentication interface for brackets/admin-ui

265,451 7
sarav/laravel-multiauth

A Simple Laravel Package for handling multiple authentication

31,746 49
laravilt/auth

Complete authentication system for Laravilt with 8 methods: login, registration,...

1,236 0

Version History

Version Released PHP Laravel License
1.6.4 >=5.3.0 ~5.0 MIT
1.6.3 >=5.3.0 ~5.0 MIT
1.6.2 >=5.3.0 ~5.0 MIT
1.6.1 >=5.3.0 ~5.0 MIT
1.6.0 >=5.3.0 ~5.0 MIT