PHPackages                             bordieris/oauth2-freelancer - 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. bordieris/oauth2-freelancer

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

bordieris/oauth2-freelancer
===========================

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

03PHPCI failing

Since Jun 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/bordieris/oauth2-freelancer)[ Packagist](https://packagist.org/packages/bordieris/oauth2-freelancer)[ RSS](/packages/bordieris-oauth2-freelancer/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Freelancer Provider for OAuth 2.0 Client
========================================

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

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

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

[](#installation)

```
$ composer require bordieris/oauth2-freelancer

```

Usage
-----

[](#usage)

You can get your OAuth client credentials [here](https://accounts.freelancer.com/settings/develop).

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

$accessToken = $provider->getAccessToken('authorization_code', [
	'code' => $_GET['code'],
	'scope' => ['basic', 'fln:project_create', 'fln:project_manage'] // optional, defaults to ['basic']
]);
$actualToken = $accessToken->getToken();
$refreshToken = $accessToken->getRefresh();

// Once it expires

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

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

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/3263451?v=4)[Sebastiano Queelo Bordieri](/maintainers/bordieris)[@bordieris](https://github.com/bordieris)

---

Top Contributors

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

---

Tags

freelanceroauth2oauth2-client

### Embed Badge

![Health badge](/badges/bordieris-oauth2-freelancer/health.svg)

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

###  Alternatives

[tg/tgwebvalid

An easy way to validate Telegram Login Widget and Telegram Mini App users on your website using PHP

6827.5k1](/packages/tg-tgwebvalid)[vitalybaev/laravel5-dkim

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

3163.1k](/packages/vitalybaev-laravel5-dkim)[kissdigital-com/apple-sign-in-client-secret-generator

PHP package for generating 'client secret' for Sign In with Apple

2125.5k](/packages/kissdigital-com-apple-sign-in-client-secret-generator)[denniseilander/laravel-passport-scopes-restriction

Restrict scopes for different Laravel Passport clients.

1636.3k](/packages/denniseilander-laravel-passport-scopes-restriction)

PHPackages © 2026

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