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.43(2w ago)4399.8k↓49.4%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 2w ago

READMEChangelog (10)Dependencies (45)Versions (95)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

Maintenance81

Actively maintained with recent releases

Popularity42

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 98.1% 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 ~5 days

Total

92

Last Release

19d 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 (308 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.4k302.1M240](/packages/google-auth)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[civicrm/civicrm-core

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

762297.9k53](/packages/civicrm-civicrm-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M672](/packages/shopware-core)[verbb/formie

The most user-friendly forms plugin for Craft.

101400.6k78](/packages/verbb-formie)[contao/core-bundle

Contao Open Source CMS

1301.7M3.1k](/packages/contao-core-bundle)

PHPackages © 2026

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