matthiasmullie/php-api-oauth

OAuth API

Maintainers

👁 matthiasmullie

Package info

github.com/matthiasmullie/php-api-oauth

pkg:composer/matthiasmullie/php-api-oauth

Statistics

Installs: 105

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2019-01-08 10:20 UTC

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT dcf5ecaee84ebf9b0868ab151e3e6929d7ed003f

apioauth

This package is auto-updated.

Last update: 2026-06-09 02:14:19 UTC


README

👁 Build status
👁 License

This repository is a simple authentication API, providing only the endpoints to create/edit/get accounts & 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 & applications isn't too useful, right?

Code

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

git clone matthiasmullie/php-api-oauth

Configuration

config/config.yml

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

config/routes.yml

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

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!