PHPackages                             gertoska/oauth2-request - 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. gertoska/oauth2-request

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

gertoska/oauth2-request
=======================

A simple way to connect to oauth2 Api.

v0.1.1(7y ago)0689MITPHPPHP ^7.2CI failing

Since Jun 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/gertoska/oauth2-request)[ Packagist](https://packagist.org/packages/gertoska/oauth2-request)[ Docs](https://github.com/gertoska/oauth2-request)[ RSS](/packages/gertoska-oauth2-request/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

OAuth2 Request
==============

[](#oauth2-request)

[![Latest Version on Packagist](https://camo.githubusercontent.com/04fd6a8ddbdc0943e141000e696d31944224a82f6db3daef8b97d599a2c232a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676572746f736b612f6f61757468322d726571756573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gertoska/oauth2-request)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/81236f8cbef43fa4c992b966e26ab146fbd15b16bdea219bdd78b602c4575ab2/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f676572746f736b612f6f61757468322d726571756573742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/gertoska/oauth2-request)[![Coverage Status](https://camo.githubusercontent.com/1e0c783fda2529c1da0bdcfb2597d532a50c49b5f2780033e96195db305ab044/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f676572746f736b612f6f61757468322d726571756573742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/gertoska/oauth2-request/code-structure)[![Quality Score](https://camo.githubusercontent.com/b01ca552af8e290b272aaea3c90ecbf898679fb55ed92c048a8df8142815dfe9/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f676572746f736b612f6f61757468322d726571756573742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/gertoska/oauth2-request)[![Total Downloads](https://camo.githubusercontent.com/2be7091ae7687af9e6596b17f65713d2059a5063850224a146c99ab186a4b7c7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f676572746f736b612f6f61757468322d726571756573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gertoska/oauth2-request)

Package to make requests with OAuth2 authentication, developed for private projects.

Install
-------

[](#install)

Via Composer

```
$ composer require gertoska/oauth2-request
```

Usage
-----

[](#usage)

```
$api = new Request($accessData);
$api->getOrRefreshAccessToken();

$api->request($method, $path, $params);
```

Testing
-------

[](#testing)

```
$ composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

2577d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3418982?v=4)[Germán](/maintainers/gertoska)[@gertoska](https://github.com/gertoska)

---

Top Contributors

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

---

Tags

gertoskaoauth2-request

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/gertoska-oauth2-request/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[overtrue/socialite

A collection of OAuth 2 packages.

1.4k5.6M90](/packages/overtrue-socialite)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

121242.9k1](/packages/ellaisys-aws-cognito)

PHPackages © 2026

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