PHPackages                             dreitier/streamline-authentication - 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. dreitier/streamline-authentication

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

dreitier/streamline-authentication
==================================

Common authentication methods for multi-tenant Laravel apps

2111PHP

Since Sep 3Pushed 2y ago2 watchersCompare

[ Source](https://github.com/dreitier/streamline-authentication)[ Packagist](https://packagist.org/packages/dreitier/streamline-authentication)[ RSS](/packages/dreitier-streamline-authentication/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Streamline Authentication for Laravel - dreitier/streamline-authentication
==========================================================================

[](#streamline-authentication-for-laravel---dreitierstreamline-authentication)

### *Common authentication methods for multi-tenant Laravel apps.*

[](#common-authentication-methods-for-multi-tenant-laravel-apps)

Features
--------

[](#features)

- Provide common authentication methods
    - Form-based logins with principal (e.g. username, email) and password
    - Password-less logins by sending emails with a magic login link
    - Logins by selecting pre-defined users for demo/e2e environments
    - Socialite integration for OAuth
- Targeted for developers of multi-tenant Laravel SaaS/on-premises applications
    - Activation of different authentication methods for only specific groups of customers
    - Configurable authentication methods per tenant
    - Users can log in through different Socialite drivers in the same tenant

When to go with Streamline Authentication instead of Laravel Fortify?
---------------------------------------------------------------------

[](#when-to-go-with-streamline-authentication-instead-of-laravel-fortify)

For the most Laravel applications, [Fortify](https://laravel.com/docs/9.x/fortify) implements all required authentication workflows in a much easier and Laravel-esk way. If you need password-based authentication with optional 2FA enabled, and a registration and password recovery workflow you should go probably go with Fortify. If you need a more configurable and dynamic way of enabling and configuring different authentication methods throughout different tenants, *Streamline Authentication* might be an option for you.

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

[](#installation)

Install the composer package and publish the required configuration:

```
composer require dreitier/streamline-authentication

php artisan vendor:publish --provider=Dreitier\\Streamline\\Authentication\\StreamlineAuthenticationServiceProvider --tag=config
```

### Custom views

[](#custom-views)

If you want to customize the views and mails, publish the assets with

```
php artisan vendor:publish --provider=Dreitier\\Streamline\\Authentication\\StreamlineAuthenticationServiceProvider --tag=assets
```

You find the customized assets below `resources/views/vendor/streamline-authentication`.

### Custom routes

[](#custom-routes)

By default, *Streamline Authentication* registers the authentication method flows at the `/sign-in` endpoint. Only enabled authentication methods are registered.

If you want to publish the routes by yourself, use

```
php artisan vendor:publish --provider=Dreitier\\Streamline\\Authentication\\StreamlineAuthenticationServiceProvider --tag=routes
```

and set in `config/streamline-authentication.php`:

```
return [
    // ...
    'routes' => false
    // ...
];
```

Configuration
-------------

[](#configuration)

`config/streamline-authentication.php` contains annotated configuration options.

Terminology
-----------

[](#terminology)

TermDescriptionAuthentication methodLike form-based authentication, Socialite etc.Authentication providerProvides the configuration for an authentication method of a given backendFAQ
---

[](#faq)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/97009eb0dd6ee67ba3b74d1a2020a2ce8dc05499bd235d3f5a678fb15019c2b1?d=identicon)[dreitier](/maintainers/dreitier)

---

Top Contributors

[![schakko](https://avatars.githubusercontent.com/u/359812?v=4)](https://github.com/schakko "schakko (15 commits)")

---

Tags

authenticationlaravelmultitenancymultitenantoauthsocialitesso

### Embed Badge

![Health badge](/badges/dreitier-streamline-authentication/health.svg)

```
[![Health](https://phpackages.com/badges/dreitier-streamline-authentication/health.svg)](https://phpackages.com/packages/dreitier-streamline-authentication)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
