Skip to content

Commit

Permalink
Edit readme
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed May 3, 2024
1 parent b7d4013 commit bf43aed
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bf43aed

Please sign in to comment.