PHPackages                             jirkavrba/cvut-socialite-provider - 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. jirkavrba/cvut-socialite-provider

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

jirkavrba/cvut-socialite-provider
=================================

A socialite provider for the authentication server of the FIT CTU in Prague

1.1(6y ago)114[3 PRs](https://github.com/jirkavrba/cvut-socialite-provider/pulls)MITPHP

Since Mar 16Pushed 3y agoCompare

[ Source](https://github.com/jirkavrba/cvut-socialite-provider)[ Packagist](https://packagist.org/packages/jirkavrba/cvut-socialite-provider)[ RSS](/packages/jirkavrba-cvut-socialite-provider/feed)WikiDiscussions master Synced yesterday

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

ČVUT Socialite provider
=======================

[](#čvut-socialite-provider)

This is a custom [Laravel Socialite](https://www.github.com/laravel/socialite) provider for the authentication server of the FIT CTU in Prague.

The authentication server can be found [here](https://auth.fit.cvut.cz).

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

[](#installation)

To install this package simply add `jirkavrba/cvut-socialite-provider` to your `composer.json` file. This can be also done via the composer command

```
composer require jirkavrba/cvut-socialite-provider

```

Then, add your credentials to the `.env`

```
CVUT_CLIENT_ID=""
CVUT_CLIENT_SECRET=""
CVUT_CALLBACK_URL=""
```

and `config/services.php`

```
return [
    // Other services
    'cvut' => [
        'client_id'     => env('CVUT_CLIENT_ID'),
        'client_secret' => env('CVUT_CLIENT_SECRET'),
        'redirect'      => env('CVUT_CALLBACK_URL'),
    ],
];
```

You also need to extend the socialite service within a service provider, this can be done eg. in the `AppServiceProvider` by creating a private method

```
private function bootCvutSocialiteProvider()
{
    $socialite = $this->app->make('Laravel\Socialite\Contracts\Factory');
    $socialite->extend(
        'cvut',
        function ($app) use ($socialite) {
            $config = $app['config']['services.cvut'];
            return $socialite->buildProvider(CvutProvider::class, $config);
        }
    );
}
```

and then call this method from within the `boot()` method.

This should be all you need to do, then you can simply use the provider within your controllers like:

```
public function redirectToProvider(): RedirectResponse
{
    return Socialite::with('cvut')->redirect();
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

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

2249d ago

### Community

Maintainers

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

---

Top Contributors

[![jirkavrba](https://avatars.githubusercontent.com/u/14146321?v=4)](https://github.com/jirkavrba "jirkavrba (7 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/jirkavrba-cvut-socialite-provider/health.svg)

```
[![Health](https://phpackages.com/badges/jirkavrba-cvut-socialite-provider/health.svg)](https://phpackages.com/packages/jirkavrba-cvut-socialite-provider)
```

###  Alternatives

[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42442.0M544](/packages/socialiteproviders-manager)[dutchcodingcompany/filament-socialite

Social login for Filament through Laravel Socialite

213914.9k9](/packages/dutchcodingcompany-filament-socialite)[andrewdwallo/filament-companies

A comprehensive Laravel authentication and authorization system designed for Filament, focusing on multi-tenant company management.

34450.0k2](/packages/andrewdwallo-filament-companies)[devdojo/auth

The auth package to make authentication in your laravel applications easy to use.

61979.4k2](/packages/devdojo-auth)[genealabs/laravel-socialiter

Automatically manage user persistence and resolution for any Laravel Socialite provider.

133403.3k](/packages/genealabs-laravel-socialiter)[chrisreedio/socialment

Provides Socialite functionality for Filament.

10884.8k1](/packages/chrisreedio-socialment)

PHPackages © 2026

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