Septian-Bhoechie / laravel-customable-auth by bhoechie

Customable Auth Provider for Laravel
30
0
2
Package Data
Maintainer Username: bhoechie
Maintainer Contact: septian.bhoechie@gmail.com (Septian Si Bhoechie)
Package Create Date: 2016-10-07
Package Last Update: 2016-10-08
Language: PHP
License: MIT
Last Refreshed: 2024-04-17 15:08:40
Package Statistics
Total Downloads: 30
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Laravel Customable Auth Provider

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.