From bf43aede2eb53a4281e5b16a80f6b6ee5693e8d0 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Fri, 3 May 2024 12:47:40 +0200 Subject: [PATCH] Edit readme --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 56f4f66..be3d94f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Intervention HttpAuth -Library to manage HTTP authentication with PHP. +HTTP Authentication Management [![Latest Version](https://img.shields.io/packagist/v/intervention/httpauth.svg)](https://packagist.org/packages/intervention/httpauth) [![Tests](https://github.com/Intervention/httpauth/actions/workflows/build.yml/badge.svg)](https://github.com/Intervention/httpauth/actions/workflows/build.yml) @@ -15,6 +15,10 @@ Just request the package with the following command: composer require intervention/httpauth ``` +## Documentation + +Read the full [documentation](https://httpauth.intervention.io) for this library. + ## Usage The workflow is easy. Just create an instance of `Authenticator::class` in the first step @@ -95,7 +99,9 @@ $auth->secure('Sorry, you can not access this resource!'); ### Apache -If you are using Apache and running php with fast-cgi, check setting headers: +If you are using Apache and running PHP with CGI/FastCGI, check the server +configuration to make sure the authorization headers are passed correctly to PHP: + https://support.deskpro.com/en/kb/articles/missing-authorization-headers-with-apache ## Authors