PHPackages                             jaburjak/oauth2-zuul - 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. jaburjak/oauth2-zuul

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

jaburjak/oauth2-zuul
====================

FIT CTU Zuul Provider for the PHP League’s OAuth 2.0 Client.

v1.0.0(2y ago)08MITPHPPHP &gt;=7.4

Since Feb 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jaburjak/oauth2-zuul)[ Packagist](https://packagist.org/packages/jaburjak/oauth2-zuul)[ RSS](/packages/jaburjak-oauth2-zuul/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

FIT CTU Provider for OAuth 2.0 Client
=====================================

[](#fit-ctu-provider-for-oauth-20-client)

This package provides [FIT CTU](https://fit.cvut.cz/en/) OAuth 2.0 support for the PHP League’s [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

Requirements
------------

[](#requirements)

Requires PHP version 7.4 or newer and The League’s OAuth 2.0 Client version 2.

To be able to authenticate users via the FIT CTU Identity Provider, you must create a Client ID and a Client Secret for your application. Follow the [official instructions](https://help.fit.cvut.cz/dev/oauth2.html) (in Czech) to obtain them.

Installation
------------

[](#installation)

Use [Composer](https://getcomposer.org/) to install:

```
$ composer require jaburjak/oauth2-zuul
```

Usage
-----

[](#usage)

The usage is the same as The League’s OAuth client, using `\OAuth2Zuul\Provider\Zuul` as the provider. For examples, refer to [The League’s documentation](https://oauth2-client.thephpleague.com/usage/).

```
$provider = new OAuth2Zuul\Provider\Zuul([
	'clientId'     => '',
	'clientSecret' => '',
	'redirectUri'  => 'https://example.com/callback-url',
	// optional
	'scopes'       => ['cvut:umapi:read'],
	// optional, value here is the default
	'base_url'     => 'https://auth.fit.cvut.cz'
]);
```

### Sample project

[](#sample-project)

An opinionated sample project using this package, based on the Symfony framework, showcasing user authentication and accessing CTU APIs, and featuring detailed description of its implementation, is available in the [`sample`](https://github.com/jaburjak/oauth2-zuul/tree/main/sample) subdirectory.

Credits
-------

[](#credits)

- [Jakub Jabůrek](https://www.jaburjak.cz/)

Support
-------

[](#support)

If you find a bug or encounter any issue, please [file an issue](https://github.com/jaburjak/oauth2-zuul/issues).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/jaburjak/oauth2-zuul/blob/main/LICENSE) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

828d ago

### Community

Maintainers

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

---

Top Contributors

[![jaburjak](https://avatars.githubusercontent.com/u/4469124?v=4)](https://github.com/jaburjak "jaburjak (2 commits)")

---

Tags

ctuctu-fitoauthoauth2php

### Embed Badge

![Health badge](/badges/jaburjak-oauth2-zuul/health.svg)

```
[![Health](https://phpackages.com/badges/jaburjak-oauth2-zuul/health.svg)](https://phpackages.com/packages/jaburjak-oauth2-zuul)
```

###  Alternatives

[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[knpuniversity/oauth2-client-bundle

Integration with league/oauth2-client to provide services

83416.7M61](/packages/knpuniversity-oauth2-client-bundle)[thenetworg/oauth2-azure

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

2509.6M48](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

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

2275.9M27](/packages/stevenmaguire-oauth2-keycloak)[patrickbussmann/oauth2-apple

Sign in with Apple OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1132.5M6](/packages/patrickbussmann-oauth2-apple)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.2M7](/packages/microsoft-kiota-authentication-phpleague)

PHPackages © 2026

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