bhoechie/laravel-customable-auth

Customable Auth Provider for Laravel

1.1 2016-10-08 02:07 UTC

This package is auto-updated.

Last update: 2024-04-21 21:44:07 UTC


README

This package allowed you to use a credentials field other than a password as default laravel credentials

Requirements

  • PHP 5.5
  • Laravel >= 5.2

Installation

To install the PHP client library using Composer: composer require bhoechie/laravel-customable-auth

Then add Bhoechie\CustomableAuth\AuthServiceProvider to the providers array in your config/app.php before application service provider:

Bhoechie\CustomableAuth\AuthServiceProvider::class

/*
* Application Service Providers...
*/

Configuration

You must publish config using artisan vendor:publish to copy the distribution configuration file to your app's config directory:

php artisan vendor:publish

Then set either the password_field base on your database password name.