PHPackages                             mashuble/pinterest-socialite - 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. mashuble/pinterest-socialite

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

mashuble/pinterest-socialite
============================

Pinterest OAuth2 Provider for Laravel Socialite

0591PHP

Since Dec 5Pushed 10y ago1 watchersCompare

[ Source](https://github.com/barooney/Pinterest-Socialite)[ Packagist](https://packagist.org/packages/mashuble/pinterest-socialite)[ RSS](/packages/mashuble-pinterest-socialite/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Pinterest OAuth2 Provider for Laravel Socialite
===============================================

[](#pinterest-oauth2-provider-for-laravel-socialite)

INSTALLATION
------------

[](#installation)

### 1. COMPOSER

[](#1-composer)

// This assumes that you have composer installed globally

`composer require mashuble/pinterest-socialite`

### 2. SERVICE PROVIDER

[](#2-service-provider)

Remove `Laravel\Socialite\SocialiteServiceProvider` from your `providers[]` array in `config\app.php` if you have added it already.

Add `SocialiteProviders\Manager\ServiceProvider` to your `providers[]` array in `config\app.php`.

For example:

```
'providers' => [
    // a whole bunch of providers
    // remove 'Laravel\Socialite\SocialiteServiceProvider',
    'SocialiteProviders\Manager\ServiceProvider', // add
];
```

Note: If you would like to use the Socialite Facade, you need to [install it](http://laravel.com/docs/5.0/authentication#social-authentication).

### 3. ADD THE EVENT AND LISTENERS

[](#3-add-the-event-and-listeners)

Add `SocialiteProviders\Manager\SocialiteWasCalled` event to your `listen[]` array in `/Providers/EventServiceProvider`.

Add your listeners (i.e. the ones from the providers) to the `SocialiteProviders\Manager\SocialiteWasCalled[]` that you just created.

The listener that you add for this provider is `'SocialiteProviders\WeixinWeb\PinterestExtendSocialite@handle',`.

Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers.

For example:

```
/**
 * The event handler mappings for the application.
 *
 * @var array
 */
protected $listen = [
    `SocialiteProviders\Manager\SocialiteWasCalled` => [
        // add your listeners (aka providers) here
    ],
];
```

### 4. SERVICES ARRAY AND .ENV

[](#4-services-array-and-env)

Add to config/services.php.

```
'pinterest' => [
    'client_id' => env('PINTEREST_KEY'),
    'client_secret' => env('PINTEREST_SECRET'),
    'redirect' => env('PINTEREST_REDIRECT_URI'),
],
```

Append provider values to your .env file

```
// other values above
PINTEREST_KEY=yourkeyfortheservice
PINTEREST_SECRET=yoursecretfortheservice
PINTEREST_REDIRECT_URI=https://example.com/login

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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://avatars.githubusercontent.com/u/7101151?v=4)[Daniel Baron](/maintainers/barooney)[@barooney](https://github.com/barooney)

---

Top Contributors

[![mashuble](https://avatars.githubusercontent.com/u/9430153?v=4)](https://github.com/mashuble "mashuble (6 commits)")[![barooney](https://avatars.githubusercontent.com/u/7101151?v=4)](https://github.com/barooney "barooney (1 commits)")

### Embed Badge

![Health badge](/badges/mashuble-pinterest-socialite/health.svg)

```
[![Health](https://phpackages.com/badges/mashuble-pinterest-socialite/health.svg)](https://phpackages.com/packages/mashuble-pinterest-socialite)
```

###  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)
