PHPackages                             seinopsys/oauth2-deviantart - 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. seinopsys/oauth2-deviantart

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

seinopsys/oauth2-deviantart
===========================

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

v1.1.0(8y ago)01.6k1MITPHPPHP &gt;=7.1

Since Jul 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/SeinopSys/oauth2-deviantart)[ Packagist](https://packagist.org/packages/seinopsys/oauth2-deviantart)[ RSS](/packages/seinopsys-oauth2-deviantart/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (4)Used By (1)

DeviantArt Provider for OAuth 2.0 Client
========================================

[](#deviantart-provider-for-oauth-20-client)

[![Build Status](https://camo.githubusercontent.com/e2ad010e35912af9dc63137c4cb3a153bc95686fe2f98dc7e57f58ad9cd3ccb9/68747470733a2f2f7472617669732d63692e6f72672f5365696e6f705379732f6f61757468322d64657669616e746172742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/seinopsys/oauth2-deviantart)[![Latest Stable Version](https://camo.githubusercontent.com/0f924a3d16545d750ef7afb5635bf8b555e2bf46df86c5adae7ec805a6b61edd/68747470733a2f2f706f7365722e707567782e6f72672f7365696e6f707379732f6f61757468322d64657669616e746172742f762f737461626c652e706e67)](https://packagist.org/packages/seinopsys/oauth2-deviantart)

[DeviantArt](https://deviantart.com/) OAuth 2.0 support for the PHP League’s [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

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

[](#installation)

```
$ composer require seinopsys/oauth2-deviantart

```

Usage
-----

[](#usage)

You can get your OAuth client credentials [here](https://www.deviantart.com/developers/apps).

```
$provider = new SeinopSys\OAuth2\Client\Provider\DeviantArtProvider([
	'clientId' => 'client_id',
	'clientSecret' => 'client_secret',
	'redirectUri' => 'http://example.com/auth',
]);

$accessToken = $provider->getAccessToken('authorization_code', [
	'code' => $_GET['code'],
	'scope' => ['user','browse'] // optional, defaults to ['user']
]);
$actualToken = $accessToken->getToken();
$refreshToken = $accessToken->getRefresh();

// Once it expires

$newAccessToken = $provider->getAccessToken('refresh_token', [
	'refresh_token' => $refreshToken
]);
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~93 days

Total

3

Last Release

3048d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.6.0

v1.1.0PHP &gt;=7.1

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

deviantartoauth2oauth2-clientphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/seinopsys-oauth2-deviantart/health.svg)

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

###  Alternatives

[league/oauth2-google

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

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

Integration with league/oauth2-client to provide services

84016.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)
