Installation
Installation with Composer
266k Downloads / Month
Open Source MIT License
266k Downloads / Month
Open Source MIT License
Learn how to install Intervention HttpAuth for PHP with Composer and discover how to configure your web server to make the library work perfectly.
Before you begin with the installation make sure that your server environment supports the following requirements.
Install this package with Composer.
composer require intervention/httpauth
After the installation you can start using the authenticator.
Although the configuration of the HTTP server should usually already be set correctly, in rare cases it may be necessary to make adjustments.
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.