PHPackages                             timrourke/incognito - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. timrourke/incognito

ActiveLibrary

timrourke/incognito
===================

A suite of tools for working with AWS Cognito

219[8 PRs](https://github.com/timrourke/incognito/pulls)PHP

Since May 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/timrourke/incognito)[ Packagist](https://packagist.org/packages/timrourke/incognito)[ RSS](/packages/timrourke-incognito/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (9)Used By (0)

Incognito
=========

[](#incognito)

A suite of tools for working with AWS Cognito

[![CircleCI](https://camo.githubusercontent.com/acf9ea75783b7ee74fb01d5a67b4e6f118f523e8b8089cdba2d2cbd3bc722c45/68747470733a2f2f636972636c6563692e636f6d2f67682f74696d726f75726b652f696e636f676e69746f2e7376673f7374796c653d737667)](https://circleci.com/gh/timrourke/incognito) [![Maintainability](https://camo.githubusercontent.com/c594ca8c9ae5aba3c4cfaf60c4582d530a65ecffeaa14d95811742d7df62d9ed/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36646232353231346237346664396462313137332f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/timrourke/incognito/maintainability) [![Test Coverage](https://camo.githubusercontent.com/c21e15de1a96691a3f1af9447f90c8da3632b011a1bff2acfdf62a69e93e13a4/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36646232353231346237346664396462313137332f746573745f636f766572616765)](https://codeclimate.com/github/timrourke/incognito/test_coverage) [![Dependabot Status](https://camo.githubusercontent.com/513adc29415a3099402ef32155a89a265ab8407fde0d49b3f01cbcce86522804/68747470733a2f2f6170692e646570656e6461626f742e636f6d2f6261646765732f7374617475733f686f73743d676974687562267265706f3d74696d726f75726b652f696e636f676e69746f)](https://dependabot.com)

In alpha
--------

[](#in-alpha)

Development of this library is still in progress. Contributions are welcome and encouraged.

Goals
-----

[](#goals)

[AWS Cognito](https://aws.amazon.com/cognito/) is a very robust (and complicated) product that provides a user identity and authentication framework. However, its documentation is a little challenging to digest, and there aren't a ton of great examples in the wild for how to integrate this service into a PHP application. The goal of this project is to provide a few framework-agnostic tools to make it a little easier to work with AWS Cognito, and the JSON Web Tokens (JWTs) it issues.

This library seeks to provide:

- A PSR-15 middleware for authenticating HTTP requests bearing a JWT issued by AWS Cognito
- A factory to build a PSR-7 response in the event of an unauthenticated request
- A keychain service for fetching and caching the public RSA keyset for your AWS Cognito User Pool
- Several HTTP services useful for initiating authentication and user management flows in an AWS Cognito User Pool

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f7f61b4089810edae4aebd47ed44caa63a7ebf177e0bb19dff0f69d28968f494?d=identicon)[timrourke](/maintainers/timrourke)

---

Top Contributors

[![timrourke](https://avatars.githubusercontent.com/u/8141770?v=4)](https://github.com/timrourke "timrourke (141 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (15 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (6 commits)")

### Embed Badge

![Health badge](/badges/timrourke-incognito/health.svg)

```
[![Health](https://phpackages.com/badges/timrourke-incognito/health.svg)](https://phpackages.com/packages/timrourke-incognito)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
