PHPackages                             verbb/auth - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. verbb/auth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

verbb/auth
==========

A Craft CMS module to make working with authentication for third-parties a breeze.

2.0.38(3d ago)4367.8k↓51.5%4[3 issues](https://github.com/verbb/auth/issues)10MITPHPPHP ^8.2

Since Jan 31Pushed 2w ago2 watchersCompare

[ Source](https://github.com/verbb/auth)[ Packagist](https://packagist.org/packages/verbb/auth)[ GitHub Sponsors](https://github.com/verbb)[ RSS](/packages/verbb-auth/feed)WikiDiscussions craft-5 Synced 2d ago

READMEChangelog (10)Dependencies (36)Versions (90)Used By (10)

[![Auth icon](https://camo.githubusercontent.com/9571fd1f8231d66e7d435a0e2666aeecf9e5cf8f09fa57f6e76df23ec4e515fc/68747470733a2f2f6173736574732e76657262622e696f2f706c7567696e732f617574682f617574682d69636f6e2e737667)](https://camo.githubusercontent.com/9571fd1f8231d66e7d435a0e2666aeecf9e5cf8f09fa57f6e76df23ec4e515fc/68747470733a2f2f6173736574732e76657262622e696f2f706c7567696e732f617574682f617574682d69636f6e2e737667)

Auth for Craft CMS
==================

[](#auth-for-craft-cms)

Auth is a module for Craft plugins and modules for making working with authenticating third-party APIs a breeze. We currently support OAuth1/OAuth2 providers and extend the [league/oauth1-client](https://github.com/thephpleague/oauth2-client) and [league/oauth2-client](https://github.com/thephpleague/oauth2-client) packages.

As such, this module is an opinionated wrapper around these packages that lowers boilerplate code, provides a consistent API layer and tightly integrates with Craft itself.

Note

This isn't a Craft plugin that is intended for end-users. Instead, it's something you can install in your own Craft plugins or Craft modules to handle the intricacies of dealing with authentication.

If you're looking for an easy way to use authenticated third-party APIs for your Craft site in Twig templates, check out:

- [Social Login](https://github.com/verbb/social-login)
- [Social Feeds](https://github.com/verbb/social-feeds)
- [Social Poster](https://github.com/verbb/social-poster)
- [Consume](https://github.com/verbb/consume)

Documentation
-------------

[](#documentation)

Visit the [Auth package page](https://verbb.io/packages/auth) for all documentation and developer resources.

Credits
-------

[](#credits)

Thanks to all the individual developers working on `league/oauth2-client` packages.

Sponsor
-------

[](#sponsor)

Auth is licensed under the MIT license, meaning it will always be free and open source – we love free stuff! If you'd like to show your support to the plugin regardless, [Sponsor](https://github.com/sponsors/verbb) development.

[ ![Verbb](https://camo.githubusercontent.com/98f2680f5948987cd8f4b418d67159eb0befb6da92060f286671b05bf39d40bd/68747470733a2f2f76657262622e696f2f6173736574732f696d672f76657262622d70696c6c2e737667)](https://verbb.io)

###  Health Score

60

—

FairBetter than 98% of packages

Maintenance82

Actively maintained with recent releases

Popularity42

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 98% 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.

###  Release Activity

Cadence

Every ~14 days

Recently: every ~24 days

Total

87

Last Release

3d ago

Major Versions

1.0.40 → 2.0.252025-07-18

1.0.41 → 2.0.272025-10-30

1.0.42 → 2.0.282025-11-12

1.0.43 → 2.0.292026-01-19

1.0.44 → 2.0.332026-02-18

PHP version history (2 changes)1.0.0PHP ^8.0.2

2.0.0-beta.1PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/26374352?v=4)[Verbb](/maintainers/verbb)[@verbb](https://github.com/verbb)

---

Top Contributors

[![engram-design](https://avatars.githubusercontent.com/u/1221575?v=4)](https://github.com/engram-design "engram-design (296 commits)")[![simonprev](https://avatars.githubusercontent.com/u/464900?v=4)](https://github.com/simonprev "simonprev (2 commits)")[![bleepsandblops](https://avatars.githubusercontent.com/u/1942313?v=4)](https://github.com/bleepsandblops "bleepsandblops (1 commits)")[![duxabilii](https://avatars.githubusercontent.com/u/966145?v=4)](https://github.com/duxabilii "duxabilii (1 commits)")[![jamesmacwhite](https://avatars.githubusercontent.com/u/8067792?v=4)](https://github.com/jamesmacwhite "jamesmacwhite (1 commits)")[![lucbernard](https://avatars.githubusercontent.com/u/1148262?v=4)](https://github.com/lucbernard "lucbernard (1 commits)")

### Embed Badge

![Health badge](/badges/verbb-auth/health.svg)

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

###  Alternatives

[google/auth

Google Auth Library for PHP

1.4k294.2M218](/packages/google-auth)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

25310.7M83](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2306.4M45](/packages/stevenmaguire-oauth2-keycloak)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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