PHPackages                             willis84/socialite-ravelry - 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. willis84/socialite-ravelry

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

willis84/socialite-ravelry
==========================

Ravelry OAuth2 Provider for Laravel Socialite

072PHP

Since Dec 15Pushed 6mo agoCompare

[ Source](https://github.com/willis84/socialite-ravelry)[ Packagist](https://packagist.org/packages/willis84/socialite-ravelry)[ RSS](/packages/willis84-socialite-ravelry/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Socialite Ravelry Oauth2 Provider
=================================

[](#socialite-ravelry-oauth2-provider)

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

[](#installation)

`composer require willis84/socialite-ravelry`

Add your Ravelry credentials to your `config/services.php` array / `.env` file

```
    'ravelry' => [
        'client_id' => env('RAVELRY_CLIENT_ID'),
        'client_secret' => env('RAVELRY_CLIENT_SECRET'),
        'redirect' => env('RAVELRY_REDIRECT_URI'),
    ],
```

Add the service provider to your `bootstrap/providers.php` file

```
return [
    // ...
    SocialiteRavelry\ServiceProvider::class
];
```

Use the driver as follows

```
$socialite = Socialite::driver('ravelry');

// get the redirect request to authenticate
$socialite->scopes(['offline'])->redirect();

// get the user when the user has approved your connection
$user = $socialite->user();

// refresh the oauth2 token, fetch the refresh token from your database
$socialite->scopes(['offline'])->refreshToken($refreshToken);
```

Please note, Ravelry does not provide the users email address, and in order to get the refresh token you will need to request the offline scope. Requesting additional scopes are done space delimited: `$socialite->scopes(['offline patternstore-read'])`

Many thanks to Cassidy at Ravelry for all her help in understanding the Ravelry Oauth2 flow.

Ravelry API documentation can be found at [www.ravelry.com/api](https://www.ravelry.com/api)

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance46

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/244052902?v=4)[Andrew Willis](/maintainers/willis84)[@willis84](https://github.com/willis84)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/willis84-socialite-ravelry/health.svg)

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.3M17](/packages/kartik-v-yii2-password)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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