Download the PHP package cyrildewit/laravel-silent-authentication without Composer
On this page you can find all versions of the php package cyrildewit/laravel-silent-authentication. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cyrildewit/laravel-silent-authentication
More information about cyrildewit/laravel-silent-authentication
Files in cyrildewit/laravel-silent-authentication
Package laravel-silent-authentication
Short Description Silent authentication methods for Laravel
License MIT
Homepage https://github.com/cyrildewit/laravel-silent-authentication
Informations about the package laravel-silent-authentication
Laravel Silent Authentication
This Laravel >= 5.5 package allows you to silently authenticate users.
Overview
I created this package for personal usage. It's based on insights from other open source packages and online blog posts.
Documentation
In this documentation, you will find some helpful information about the use of this Laravel package.
Table of contents
- Getting Started
- Requirements
- Installation
- Usage
- Default setup
- SilentAuthentication trait
Getting Started
Requirements
This package requires PHP 7.1+ and Laravel 5.5+.
Lumen is not supported!
Version information
Version | Illuminate | Status | PHP Version |
---|---|---|---|
1.0 | 5.5 - 5.7 | Active support | >= 7.1.0 |
Installation
First, you need to install the package via Composer:
You can optionally publish the config file with:
Register service provider manually
If you prefer to register packages manually, you can add the following provider to your application's providers list.
Usage
Default setup
This package will overwrite the default SessionGuard
by default. The customized session guard uses the SilentAuthentication
trait which will allow you silently authenticate users.
If you're not interesting in this default or if it's breaking your application, you can disable it in the config file.
SilentAuthentication trait
If you're already overwriting the default SessionGuard
in your application, you can simply implement the SilentAuthentication
trait.
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.