PHPackages                             matthiasmullie/php-api-oauth - 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. matthiasmullie/php-api-oauth

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

matthiasmullie/php-api-oauth
============================

OAuth API

0105PHP

Since Jan 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/matthiasmullie/php-api-oauth)[ Packagist](https://packagist.org/packages/matthiasmullie/php-api-oauth)[ RSS](/packages/matthiasmullie-php-api-oauth/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

matthiasmullie/php-api-auth
===========================

[](#matthiasmulliephp-api-auth)

[![Build status](https://camo.githubusercontent.com/6970d4c99edc9fe040f80de6bf90b0d2b3423844109c0c2585c415f9d78c216f/68747470733a2f2f6170692e7472617669732d63692e6f72672f6d617474686961736d756c6c69652f7068702d6170692d6f617574682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/matthiasmullie/php-api-oauth)[![License](https://camo.githubusercontent.com/4c000f98efa517eb3a279e97be935a4d156003abb633641382d8ef83766a14ab/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d617474686961736d756c6c69652f7068702d6170692d6f617574682e737667)](https://github.com/matthiasmullie/php-api-oauth/blob/master/LICENSE)

This repository is a simple authentication API, providing only the endpoints to create/edit/get accounts &amp; applications. It's an easy starting point for any such API, but you'll have to add the other domain-specific details yourself - an API that does nothing other than accounts &amp; applications isn't too useful, right?

Code
----

[](#code)

Just clone this project and use/enrich/change it to your needs.

```
git clone matthiasmullie/php-api-oauth

```

Configuration
-------------

[](#configuration)

### [config/config.yml](https://github.com/matthiasmullie/php-api-oauth/blob/master/config/config.yml)

[](#configconfigyml)

This one holds information on the root app, the database &amp; mailer credentials &amp; supported scopes.

### [config/routes.yml](https://github.com/matthiasmullie/php-api-oauth/blob/master/config/routes.yml)

[](#configroutesyml)

This one holds the routes to the API controllers, the expected parameters &amp; responses.

Docker &amp; Travis CI
----------------------

[](#docker--travis-ci)

In order to quickly get your API running on your local machine (or anything supporting Docker images), just build the docker-compose suite by issuing this makefile command:

```
make test

```

With the included **.travis.yml** config, you should have those tests on Travis CI in no time!

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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://www.gravatar.com/avatar/cad3300bf52ada70b17962024941977a92a4da8551cbb92493de23c4bbbb5252?d=identicon)[matthiasmullie](/maintainers/matthiasmullie)

---

Top Contributors

[![matthiasmullie](https://avatars.githubusercontent.com/u/312776?v=4)](https://github.com/matthiasmullie "matthiasmullie (29 commits)")

### Embed Badge

![Health badge](/badges/matthiasmullie-php-api-oauth/health.svg)

```
[![Health](https://phpackages.com/badges/matthiasmullie-php-api-oauth/health.svg)](https://phpackages.com/packages/matthiasmullie-php-api-oauth)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.3M17](/packages/kartik-v-yii2-password)[vitalybaev/laravel5-dkim

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

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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