PHPackages                             daisyconbv/oauth-examples - 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. [API Development](/categories/api)
4. /
5. daisyconbv/oauth-examples

ActiveLibrary[API Development](/categories/api)

daisyconbv/oauth-examples
=========================

A list of Daisycon oAuth examples.

v1.0.0(3y ago)051541PHPPHP &gt;=7.4

Since Mar 3Pushed 3w ago4 watchersCompare

[ Source](https://github.com/DaisyconBV/oauth-examples)[ Packagist](https://packagist.org/packages/daisyconbv/oauth-examples)[ RSS](/packages/daisyconbv-oauth-examples/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (1)

oAuth examples
==============

[](#oauth-examples)

This repository contains small example scripts for oAuth usage.

Javascript/Typescript
=====================

[](#javascripttypescript)

Note: both javascript and typescript examples assume you use a compiler like webpack

We also have an oauth client package available with cli support

PHP
===

[](#php)

Even though you can see our examples here, we recommend you use the PHP League oAuth Client

For CLI there is a CLI client available.

Usage

```
php PHP/cli-client.php --clientId CLIENT_ID --clientSecret CLIENT_SECRET --outputFile tokens.json
```

You can then use the tokens in your code and refresh them using your own code

PowerShell
==========

[](#powershell)

This is a small example for making an api call using OAuth in PowerShell.

```
Install-module -name PKCE
Install-Module -name JWTDetails
Add-Type -AssemblyName System.Web

```

Usage:

```
.\PowerShell\example.ps1

```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance62

Regular maintenance activity

Popularity17

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

1217d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/266744aeef60a1e4ba3a21df8a3f37d0acce85acaad335f49ed8d51e04ea657a?d=identicon)[DaisyconBV](/maintainers/DaisyconBV)

---

Top Contributors

[![SamanthaAdrichem](https://avatars.githubusercontent.com/u/9433667?v=4)](https://github.com/SamanthaAdrichem "SamanthaAdrichem (7 commits)")[![sadrichem](https://avatars.githubusercontent.com/u/292709545?v=4)](https://github.com/sadrichem "sadrichem (6 commits)")[![aiwha-dev](https://avatars.githubusercontent.com/u/9433667?v=4)](https://github.com/aiwha-dev "aiwha-dev (2 commits)")[![mrshoekstra](https://avatars.githubusercontent.com/u/7147845?v=4)](https://github.com/mrshoekstra "mrshoekstra (1 commits)")

### Embed Badge

![Health badge](/badges/daisyconbv-oauth-examples/health.svg)

```
[![Health](https://phpackages.com/badges/daisyconbv-oauth-examples/health.svg)](https://phpackages.com/packages/daisyconbv-oauth-examples)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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