PHPackages                             amoschou/laravel-remote-auth - 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. amoschou/laravel-remote-auth

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

amoschou/laravel-remote-auth
============================

Authentication provided by remote servers for Laravel apps.

1.0.3(1y ago)0101MITPHP

Since Mar 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/amoschou/laravel-remote-auth)[ Packagist](https://packagist.org/packages/amoschou/laravel-remote-auth)[ Docs](https://github.com/amoschou/laravel-remote-auth)[ RSS](/packages/amoschou-laravel-remote-auth/feed)WikiDiscussions main Synced 1mo ago

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

laravel-remote-auth
===================

[](#laravel-remote-auth)

Authentication provided by remote servers for Laravel apps.

Laravel remote auth
===================

[](#laravel-remote-auth-1)

- Edit `config/auth` and/or update App\\Models\\User class
- Delete unneeded migration files

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

[](#installation)

### Composer and Artisan

[](#composer-and-artisan)

Install the package into a newish Laravel app by doing:

```
composer require amoschou/laravel-remote-auth
```

Optionally publish the config and view files by doing:

```
php artisan vendor:publish --tag=remote-auth-config
php artisan vendor:publish --tag=remote-auth-views
```

T

### Configuration

[](#configuration)

You will amost always want to publish the config file. It will be made available at `config/remote-auth.php`.

For details about this file, see *Configuration* below.

### Views

[](#views)

The package makes available the following views:

- A simple login form
- Several views related to emails

If published, they will be made available in `resources/views/vendor/remote-auth`. They can be customised from here.

### User model

[](#user-model)

The package provides a new user class. You will need to reference it in one of two ways:

Either clear out `app\Models\User.php` and replace it with something like:

```
