{"repo":"olssonm/l5-very-basic-auth","free":true,"listed":false,"github":"https://github.com/olssonm/l5-very-basic-auth","clone":"git clone https://github.com/olssonm/l5-very-basic-auth.git","description":"Stateless HTTP basic auth for Laravel without the need for a database.","language":"PHP","stars":165,"topics":["laravel","basic-authentication","middleware","laravel-package"],"license":"MIT","category":"databases-storage","readme_excerpt":"Laravel Very Basic Auth [![Latest Version on Packagist][ico-version]][link-packagist] [![Total downloads][ico-downloads]][link-packagist] [![Software License][ico-license]](LICENSE.md) [![Build Status][ico-build]][link-build] Documentation available in: 🇬🇧 English 🇯🇵 日本語 This package allows you to add a HTTP Basic Auth filter on your routes, without the need to use a database – which the Laravel default auth.basic -middleware relies on. Perfect when you want to give your clients access to your development site before you have yet to set up your database and/or models. Or perhaps your site doesn't even use a database and you still wish to keep it protected. On failed authentication the user will get a \"401 Unauthorized\" response. A thing to note While HTTP Basic Auth does give you a protection layer against unwanted visitors, it is still not strictly safe from brute-force attacks. If you are solely using this package for security, you should at least consider looking into Apache or Nginx rate-limiters to limit login attempts. Installation Via Composer Since v4. (for Laravel 5.5) this package uses Package Auto-Discovery for loading the service provider. Once installed you should see the message If you would like to manually add the provider, turn off Auto-Discovery for the package in your composer.json-file: And then add the provider in the providers array ( config/app.php ). Configuration Run the command $ php artisan vendor:publish and select Provider: Olssonm\\VeryBasicAu","default_branch":null,"files":null,"tree":[],"storefront":"/r/olssonm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/olssonm/l5-very-basic-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}