v1.x
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
This package is an agnostic fork of Laravel UI and only handles the Auth components. It provides agnostic HTML blade views.
$ php artisan make:auth --force=false
The Auth Foundation components are all the auth-backend
components from Laravel UI.
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.