PHPackages                             cartrex/laravel-socialiteprovider - 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. cartrex/laravel-socialiteprovider

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

cartrex/laravel-socialiteprovider
=================================

Cartrex OAuth2 Provider for Laravel Socialite

0592PHP

Since Jan 25Pushed 4y ago2 watchersCompare

[ Source](https://github.com/cartrex/laravel-socialiteprovider)[ Packagist](https://packagist.org/packages/cartrex/laravel-socialiteprovider)[ RSS](/packages/cartrex-laravel-socialiteprovider/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Socialite Cartrex
=========================

[](#laravel-socialite-cartrex)

```
composer require cartrex/laravel-socialiteprovider
```

Installation &amp; Basic Usage
------------------------------

[](#installation--basic-usage)

Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), then follow the provider specific instructions below.

### Add configuration to `config/services.php`

[](#add-configuration-to-configservicesphp)

```
'cartrex' => [
  'client_id' => env('CARTREX_CLIENT_ID'),
  'client_secret' => env('CARTREX_CLIENT_SECRET'),
  'redirect' => env('CARTREX_REDIRECT_URI')
],
```

### Add provider event listener

[](#add-provider-event-listener)

Configure the package's listener to listen for `SocialiteWasCalled` events.

Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions.

```
protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        \Cartrex\LaravelSocialiteprovider\CartrexExtendSocialite::class.'@handle',
    ],
];
```

### Usage

[](#usage)

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

```
return Socialite::driver('cartrex')->redirect();
```

### Returned User fields

[](#returned-user-fields)

- `id`
- `email`
- `name`
- `nickname`
- `avatar`

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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/8ac43784b43fb52f7bafcc9feaf0fb98d9efc8adaa3f27544c15d92388d2d496?d=identicon)[andreaspabst](/maintainers/andreaspabst)

---

Top Contributors

[![andreaspabst](https://avatars.githubusercontent.com/u/17340010?v=4)](https://github.com/andreaspabst "andreaspabst (1 commits)")[![cartrex](https://avatars.githubusercontent.com/u/98323566?v=4)](https://github.com/cartrex "cartrex (1 commits)")

### Embed Badge

![Health badge](/badges/cartrex-laravel-socialiteprovider/health.svg)

```
[![Health](https://phpackages.com/badges/cartrex-laravel-socialiteprovider/health.svg)](https://phpackages.com/packages/cartrex-laravel-socialiteprovider)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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