Loading...

v1.x

Menu

Auth

Installation

Begin by installing this package through Composer. Edit your project's composer.json file to require laravelcollective/auth or simply run:

$ composer require laravelcollective/auth

Important

This package is an agnostic fork of Laravel UI and only handles the Auth components. It provides agnostic HTML blade views.

Make Auth

$ php artisan make:auth --force=false

Foundation

The Auth Foundation components are all the auth-backend components from Laravel UI.

Migrating from Laravel/UI to Collective/Auth

Migration should take less than 2 minutes overall. Simply switch any namespaces of:

Illuminate\Foundation\Auth to Collective\Auth\Foundation

and in your routes switch:

Auth::routes() to CollectiveAuth::routes().

Everything else should work the same.

Explicit is better than implicit.