timedoor/tmd-basic-auth

Basic auth timedoor

Installs: 554

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 3

Open Issues: 0

pkg:composer/timedoor/tmd-basic-auth

1.1.0 2023-07-06 03:47 UTC

This package is auto-updated.

Last update: 2025-10-06 08:38:39 UTC


README

Instalation

Install Package Via Composer

composer require timedoor/tmd-basic-auth

Publish config

php artisan vendor:publish --tag=tmd-bsa

this will copy config from basic auth with file name tmd-bsa.php

Route Implementation Example

Route::get('/', function () {
    return view('welcome');
})->middleware('tmd-bsa');

You can add new provider on config file and add new param on middleware

Route::get('/', function () {
    return view('welcome');
})->middleware('tmd-bsa:admin,client');

Thank You