PHPackages                             delboy1978uk/oauth2-api - 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. delboy1978uk/oauth2-api

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

delboy1978uk/oauth2-api
=======================

An OAuth2 API built using Bone MVC Framework and the Extraordinary League's OAuth2 Server

151[1 issues](https://github.com/delboy1978uk/oauth2-api/issues)PHP

Since Jan 24Pushed 7y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (6)Used By (0)

OAuth2 API
==========

[](#oauth2-api)

[![Build Status](https://camo.githubusercontent.com/2af3c5c506bff763201a12d99b27780d22c245f91952f1a8330441f000949425/68747470733a2f2f7472617669732d63692e6f72672f64656c626f7931393738756b2f6f61757468322d6170692e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/delboy1978uk/oauth2-api) [![Code Coverage](https://camo.githubusercontent.com/82744b9104dbba3d8e67296cad4e83b5ffce131dd8a3fc564d2a90c6501b631a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64656c626f7931393738756b2f6f61757468322d6170692f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/delboy1978uk/oauth2-api/?branch=master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/dce4990b8459f4d059f34709f4496caca1602a2c660baa13678a015efb86e291/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64656c626f7931393738756b2f6f61757468322d6170692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/delboy1978uk/oauth2-api/?branch=master)

An OAuth2 server built using Bone MVC Framework and the League of Extraordinary Package's OAuth2 Server lib.

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

[](#installation)

```
composer create-project delboy1978uk/oauth2-api

```

Apache setup
------------

[](#apache-setup)

Ensure your vhost is configured to run on a secure SSL port 443 connection.

Configure database credentials
------------------------------

[](#configure-database-credentials)

Create a database with utf8mb4\_unicode\_ci
Go into the config folder, add db connection credentials for Bone MVC to use.
Also, edit migrant-cfg.php, and put connection details in there too.

Run database migrations
-----------------------

[](#run-database-migrations)

make sure vendor/bin is in your $PATH environment variables. Run:

```
migrant migrate

```

This will create several tables used by the OAuth2 library.

Set up Private &amp; Public keys
--------------------------------

[](#set-up-private--public-keys)

See instructions here: Copy the keys to the data/keys/ directory.
There is a sample public and private key for quick setup on development machines. Just remove the .sample extension.

Test API Endpoint
-----------------

[](#test-api-endpoint)

You can test your API is available by calling /ping

```
{"pong":"2017-03-21 13:44:49"}

```

Registering a Client
--------------------

[](#registering-a-client)

Instructions will appear once I've built this!

Command Line Tool
-----------------

[](#command-line-tool)

We'll have a CLI tool soon too! Stay tuned!

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/delboy1978uk-oauth2-api/health.svg)

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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