Download the PHP package anfly0/psr-15-github-auth without Composer
On this page you can find all versions of the php package anfly0/psr-15-github-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download anfly0/psr-15-github-auth
More information about anfly0/psr-15-github-auth
Files in anfly0/psr-15-github-auth
Download anfly0/psr-15-github-auth
More information about anfly0/psr-15-github-auth
Files in anfly0/psr-15-github-auth
Vendor anfly0
Package psr-15-github-auth
Short Description PSR-15 middleware for authenticating incoming webhooks from github
License MIT
Package psr-15-github-auth
Short Description PSR-15 middleware for authenticating incoming webhooks from github
License MIT
Please rate this library. Is it a good library?
Informations about the package psr-15-github-auth
GitHub webhook authentication middleware.
Simple PSR-15 middleware for authenticating GitHub webhooks.
Installation
Example
Install dependencies for the following example:
FAQ
-
Authentication fails when I expect it to succeed!?
- Make sure that the correct secret is passed to the constructor when the middleware object is instantiated.
- Make sure that $request->getBody() === file_get_content('php://input').
- i.e The ServerRequest object that is passed to the process method actually contains the request body.
- How do I get the logging to work?
-
Simply pass a PSR-3 compliant logger the setLogger method
-
License
- MIT license
- Copyright 2019 © Viktor Hellström
All versions of psr-15-github-auth with dependencies
PHP Build Version
Package Version
Requires
psr/http-server-middleware Version
^1.0
psr/log Version ^1.1
psr/http-factory Version ^1.0.1
php Version >=7.2
psr/log Version ^1.1
psr/http-factory Version ^1.0.1
php Version >=7.2
The package anfly0/psr-15-github-auth contains the following files
Loading the files please wait ....